Run example_kinetics
- Haruki Toda
- Posts: 3
- Joined: Tue Jul 12, 2022 5:46 pm
Run example_kinetics
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'
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'
- Haruki Toda
- Posts: 3
- Joined: Tue Jul 12, 2022 5:46 pm
Re: Run example_kinetics
Dear OpenCap team
My problem may be similar to previous FAQ from Ananya Goyal.
Is there a solution?
Regards,
Haru
My problem may be similar to previous FAQ from Ananya Goyal.
Is there a solution?
Regards,
Haru
- Antoine Falisse
- Posts: 429
- Joined: Wed Jan 07, 2015 2:21 am
Re: Run example_kinetics
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
Do you know what processor you are using (Arm vs x86)?
We might not yet be supporting Arm for the kinetics part.
Best,
Antoine
- Haruki Toda
- Posts: 3
- Joined: Tue Jul 12, 2022 5:46 pm
Re: Run example_kinetics
Hi Antoine,
Unfortunately, my mac have arm.
I hope that you will support arm as soon as possible.
Regards,
Haru
Unfortunately, my mac have arm.
I hope that you will support arm as soon as possible.
Regards,
Haru
- Antoine Falisse
- Posts: 429
- Joined: Wed Jan 07, 2015 2:21 am
Re: Run example_kinetics
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
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
- Dani Dresdner
- Posts: 5
- Joined: Tue Jan 31, 2023 1:50 pm
Re: Run example_kinetics
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
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
- Antoine Falisse
- Posts: 429
- Joined: Wed Jan 07, 2015 2:21 am
Re: Run example_kinetics
Hi Dani,
What's the error you're having on your windows machine?
Best,
Antoine
What's the error you're having on your windows machine?
Best,
Antoine
- Dani Dresdner
- Posts: 5
- Joined: Tue Jan 31, 2023 1:50 pm
Re: Run example_kinetics
Here is the error I am getting
- Attachments
-
- Screen Shot 2024-02-06 at 10.48.33 AM.png (22.44 KiB) Viewed 634 times
- Antoine Falisse
- Posts: 429
- Joined: Wed Jan 07, 2015 2:21 am
Re: Run example_kinetics
Can you please copy the entire error message?