Page 1 of 2

Run example_kinetics

Posted: Mon Aug 21, 2023 11:27 pm
by haru_to
I am running example_kinetics.py on my M1 Mac.
However, I am getting the following error.
Is there any way to deal with this?
I could run it on windows as per the manual, but is this a Mac-specific issue?

Regards,

Haru

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [F] Error 1
make[1]: *** [CMakeFiles/F.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "/Users//Documents/opencap-processing/example_kinetics.py", line 181, in <module>
settings = processInputsOpenSimAD(baseDir, dataFolder, session_id, trial_name,
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 2188, in processInputsOpenSimAD
generateExternalFunction(baseDir, dataFolder, session_id,
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1514, in generateExternalFunction
buildExternalFunction(
File "/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1727, in buildExternalFunction
shutil.copy2(path_external_filename_foo, pathBuildExternalFunction)
File "/Users//anaconda3/envs/opencap-processing/lib/python3.10/shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Users//anaconda3/envs/opencap-processing/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/Users//Documents/opencap-processing/UtilsDynamicSimulations/OpenSimAD/build-ExpressionGraphF/foo.py'

Re: Run example_kinetics

Posted: Tue Aug 22, 2023 12:14 am
by haru_to
Dear OpenCap team

My problem may be similar to previous FAQ from Ananya Goyal.
Is there a solution?


Regards,

Haru

Re: Run example_kinetics

Posted: Wed Aug 23, 2023 8:45 am
by antoinefalisse
Hi Haruki,

Do you know what processor you are using (Arm vs x86)?
We might not yet be supporting Arm for the kinetics part.

Best,
Antoine

Re: Run example_kinetics

Posted: Wed Aug 23, 2023 5:11 pm
by haru_to
Hi Antoine,

Unfortunately, my mac have arm.
I hope that you will support arm as soon as possible.

Regards,

Haru

Re: Run example_kinetics

Posted: Thu Aug 24, 2023 10:40 am
by antoinefalisse
Hi,

We will work on this, but this will probably be in a couple of months.
If you could use a windows or linux machine in the meantime, that would be awesome.

Thanks,
Antoine

Re: Run example_kinetics

Posted: Sun Feb 04, 2024 3:36 pm
by dcdresdner
Hi,

I am getting the same error. I am on a Windows computer with an x64 processor. I have previously been able to run the example kinetics file but have not gotten it to work recently. Do you have any suggestions?

Thank you,
Dani Dresdner

Re: Run example_kinetics

Posted: Tue Feb 06, 2024 10:08 am
by antoinefalisse
Hi Dani,

What's the error you're having on your windows machine?

Best,
Antoine

Re: Run example_kinetics

Posted: Tue Feb 06, 2024 10:50 am
by dcdresdner
Here is the error I am getting

Re: Run example_kinetics

Posted: Tue Feb 06, 2024 3:30 pm
by antoinefalisse
Can you please copy the entire error message?

Re: Run example_kinetics

Posted: Wed Feb 07, 2024 10:33 am
by dcdresdner
Screen Shot 2024-02-07 at 10.31.51 AM.png
Screen Shot 2024-02-07 at 10.31.51 AM.png (135.94 KiB) Viewed 836 times