Hi,
I’m trying to install CRTM v3.1.1 using GitHub - JCSDA/CRTMv3: CRTMv3 repository for coordinated development and releases. Code history is not carried in this repository prior to v3, to reduce the cloning overhead. For v2.x history leading up to v3, see JCSDA/crtm repository..
I followed the installation instructions as outlined in github and proceeded to conduct tests.
However, I am encountering an error during this process.
gfortran SensorInfo_Define.o SensorInfo_LinkedList.o SensorInfo_IO.o UnitTest_Define.o Test_CRTM_V30.o -L/home/slee0611/scratch/CRTMv3/build/lib -o Test_CRTM_V30
Test_CRTM_V30.o: In function test_crtm_fwd.4303.constprop.0': /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:283: undefined reference to
__crtm_channelinfo_define_MOD_crtm_channelinfo_n_channels’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:335: undefined reference to __timing_utility_MOD_timing_begin' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:341: undefined reference to
__crtm_forward_module_MOD_crtm_forward’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:342: undefined reference to __timing_utility_MOD_timing_end' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:347: undefined reference to
__timing_utility_MOD_timing_display’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:356: undefined reference to __file_utility_MOD_file_name_exists' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:372: undefined reference to
__crtm_rtsolution_define_MOD_crtm_rtsolution_readfile’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:407: undefined reference to __file_utility_MOD_get_lun' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:416: undefined reference to
__message_handler_MOD_display_message’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:433: undefined reference to __crtm_rtsolution_define_MOD_crtm_rtsolution_subtract' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:433: undefined reference to
__crtm_rtsolution_define_MOD_scalar_inspect’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:345: undefined reference to __message_handler_MOD_display_message' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:364: undefined reference to
__message_handler_MOD_display_message’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/Test_CRTM_V30.f90:365: undefined reference to __crtm_rtsolution_define_MOD_crtm_rtsolution_writefile' Test_CRTM_V30.o: In function
test_crtm_ad.4249.constprop.0’:
…
SensorInfo_IO.o:/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:531: more undefined references to __message_handler_MOD_display_message' follow SensorInfo_IO.o: In function
__sensorinfo_io_MOD_read_sensorinfo’:
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:156: undefined reference to __file_utility_MOD_file_name_exists' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:187: undefined reference to
__file_utility_MOD_get_lun’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:416: undefined reference to __message_handler_MOD_display_message' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:179: undefined reference to
__message_handler_MOD_display_message’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:223: undefined reference to __message_handler_MOD_display_message' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:192: undefined reference to
__message_handler_MOD_display_message’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:205: undefined reference to __message_handler_MOD_display_message' SensorInfo_IO.o:/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/SensorInfo_IO.f90:263: more undefined references to
__message_handler_MOD_display_message’ follow
…
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4051: undefined reference to __compare_float_numbers_MOD_cwt_real_single' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4051: undefined reference to
__compare_float_numbers_MOD_cwt_real_single’
UnitTest_Define.o: In function __unittest_define_MOD_complexsp_refute_withinsigfig_s': /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4570: undefined reference to
__compare_float_numbers_MOD_cwt_real_single’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4570: undefined reference to __compare_float_numbers_MOD_cwt_real_single' UnitTest_Define.o: In function
__unittest_define_MOD_complexdp_assert_withinsigfig_s’:
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4173: undefined reference to __compare_float_numbers_MOD_cwt_real_double' /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4173: undefined reference to
__compare_float_numbers_MOD_cwt_real_double’
UnitTest_Define.o: In function __unittest_define_MOD_complexdp_refute_withinsigfig_s': /home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4692: undefined reference to
__compare_float_numbers_MOD_cwt_real_double’
/home/slee0611/scratch/CRTMv3/CRTM_V30_TEST/UnitTest_Define.f90:4692: undefined reference to `__compare_float_numbers_MOD_cwt_real_double’
collect2: error: ld returned 1 exit status
make[1]: *** [makefile:95: test_program] Error 1
make[1]: Leaving directory ‘/scratch/zt1/project/aharris2-prj/user/slee0611/CRTMv3/CRTM_V30_TEST’
make: *** [makefile:87: gfortran] Error 2
cd CRTM_V30_TEST
ulimit -s unlimited (if needed)
make clean
make gfortran ← I faced that error in this process.
Could you give me a piece of advice?