Error during running example_kinetics.py
Posted: Wed Dec 04, 2024 8:20 pm
collect2: error: ld returned 1 exit status
CMakeFiles/F.dir/build.make:101: recipe for target 'F' failed
make[2]: *** [F] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/F.dir/all' failed
make[1]: *** [CMakeFiles/F.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "/workspace/OpenCap/opencap-processing-main/example_kinetics.py", line 166, in <module>
settings = processInputsOpenSimAD(baseDir, dataFolder, session_id, trial_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 2321, in processInputsOpenSimAD
generateExternalFunction(baseDir, dataFolder, session_id,
File "/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1544, in generateExternalFunction
buildExternalFunction(
File "/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1795, in buildExternalFunction
shutil.copy2(path_external_filename_foo, CPP_DIR)
File "/opt/conda/envs/opencap-processing/lib/python3.11/shutil.py", line 448, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/opt/conda/envs/opencap-processing/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/build-ExpressionGraphF/foo.py'
I use the docker, all steps are carried out according to the instructions but it just can't work.
CMakeFiles/F.dir/build.make:101: recipe for target 'F' failed
make[2]: *** [F] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/F.dir/all' failed
make[1]: *** [CMakeFiles/F.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "/workspace/OpenCap/opencap-processing-main/example_kinetics.py", line 166, in <module>
settings = processInputsOpenSimAD(baseDir, dataFolder, session_id, trial_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 2321, in processInputsOpenSimAD
generateExternalFunction(baseDir, dataFolder, session_id,
File "/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1544, in generateExternalFunction
buildExternalFunction(
File "/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/utilsOpenSimAD.py", line 1795, in buildExternalFunction
shutil.copy2(path_external_filename_foo, CPP_DIR)
File "/opt/conda/envs/opencap-processing/lib/python3.11/shutil.py", line 448, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/opt/conda/envs/opencap-processing/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/OpenCap/opencap-processing-main/UtilsDynamicSimulations/OpenSimAD/build-ExpressionGraphF/foo.py'
I use the docker, all steps are carried out according to the instructions but it just can't work.