Closed aleixpinardell closed 7 years ago
Have you compiled the full bundle (including spice and nrlmsise) on the server or just Tudat?
The version of GCC is rather old, but it should work. I have suspicion that it might find some spice kernels on the system instead. Can you copy spice related items from your CMakeCache.txt (inside build folder)?
cat CMakeCache.txt | grep -i spice
CSpice_BINARY_DIR:STATIC=/home/aleix/build-tudatBundle-Desktop-Default/cspice
CSpice_SOURCE_DIR:STATIC=/home/aleix/tudatBundle/cspice
SPICE_BASE_PATH:PATH=/home/aleix/tudatBundle/cspice/include
SPICE_LIBRARIES:FILEPATH=/home/aleix/tudatBundle/cspice/lib/libcspice.a
//build Tudat with CSPICE enabled
USE_CSPICE:BOOL=ON
cspice_LIB_DEPENDS:STATIC=
tudat_spice_interface_LIB_DEPENDS:STATIC=
//Details about finding SPICE
FIND_PACKAGE_MESSAGE_DETAILS_SPICE:INTERNAL=[/home/aleix/tudatBundle/cspice/include/../..][v()]
Was spice compiled by you on the server, or did you copy the libraries (including .a files) from your system?
I'm uploading the whole tudatBundle, running CMake and then running make my_app
as I would do on my computer. I get this messages before the error:
[ 1%] Built target nrlmsise00
[ 1%] Built target tudat_basics
[ 1%] Built target tudat_numerical_integrators
[ 2%] Built target tudat_relativity
[ 2%] Built target tudat_propulsion
[ 3%] Built target tudat_electro_magnetism
[ 3%] Built target tudat_reference_frames
[ 3%] Built target tudat_spice_interface
[ 3%] Built target tudat_basic_mathematics
[ 3%] Built target tudat_geometric_shapes
[ 3%] Built target tesp_library
[ 3%] Built target tudat_basic_astrodynamics
[ 3%] Built target tudat_mission_segments
[ 4%] Built target tudat_aerodynamics
[ 4%] Built target tudat_ephemerides
[ 5%] Built target tudat_input_output
[ 7%] Built target tudat_gravitation
[ 7%] Built target tudat_propagators
[ 98%] Built target cspice
[100%] Built target tudat_simulation_setup
[100%] Linking CXX executable /home/aleix/tudatBundle/tudatApplications/bin/applications/tesp
so I guess spice and nrlmsise00 are indeed being compiled.
Not necessarilly, it says it is already built. Please, be specific. What do you mean when you say 'upload the whole bundle'? Refer to my previous question.
I removed the build directory and tried compiling again. Now it compiles with no errors.
I am able to compile my Tudat branch on Mac OS X, but when I try to compile it on the server (Linux) I get the following error:
The version of gcc is: