SIMBODY_STANDARD_11/OPENSIM_STANDARD_11
Posted: Thu Dec 01, 2016 10:43 am
Hello,
Previously, I have written code for the simulation of bipedal walking using Opensim API in C++ in windows (VS), and it works well.
I wanted to use our campus supercomputer (linux based) to run my codes.
I built simbody and opensim from source on it. Based on the instructions in following page for linux
http://simtk-confluence.stanford.edu:80 ... rom+Source
I turned off SIMBODY_STANDARD_11 and OPENSIM_STANDARD_11 when Simbody and Opensim.
Now when I'm compiling my codes, I get error: my codes needs c++11 features. I have used c++11 features in my own codes. My codes are really long, and I couldn't detect and remove all the c++ features, I have used.
Hence, I used "add_definitions(-std=c++11)" in my cmake file, and I could compile my codes. But now when I run the executable file I have generated, I receive segmentation error. I traced back and the error is somewhere in the Simbody package I have built.
Now please help me with this situation.
I also tried to use Open Science Grid, I could build simple opensim c++ programs and run on several cores, but when I try to build my own codes I receive similar errors as above. I believe the simbody and opensim on OpenScienceGrid server are installed without enabling c++11 standard.
Thanks a lot in advance.
Previously, I have written code for the simulation of bipedal walking using Opensim API in C++ in windows (VS), and it works well.
I wanted to use our campus supercomputer (linux based) to run my codes.
I built simbody and opensim from source on it. Based on the instructions in following page for linux
http://simtk-confluence.stanford.edu:80 ... rom+Source
I turned off SIMBODY_STANDARD_11 and OPENSIM_STANDARD_11 when Simbody and Opensim.
Now when I'm compiling my codes, I get error: my codes needs c++11 features. I have used c++11 features in my own codes. My codes are really long, and I couldn't detect and remove all the c++ features, I have used.
Hence, I used "add_definitions(-std=c++11)" in my cmake file, and I could compile my codes. But now when I run the executable file I have generated, I receive segmentation error. I traced back and the error is somewhere in the Simbody package I have built.
Now please help me with this situation.
I also tried to use Open Science Grid, I could build simple opensim c++ programs and run on several cores, but when I try to build my own codes I receive similar errors as above. I believe the simbody and opensim on OpenScienceGrid server are installed without enabling c++11 standard.
Thanks a lot in advance.