# CRTM v3 test fail

**URL:** <https://forums.jcsda.org/t/crtm-v3-test-fail/629>\
**Category:** CRTM\
**Created:** [October 16, 2024, 9:28pm UTC](https://forums.jcsda.org/t/crtm-v3-test-fail/629 "2024-10-16T21:28:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjlee](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@sjlee](https://forums.jcsda.org/u/sjlee)\
**Post date:** [October 16, 2024, 9:28pm UTC](https://forums.jcsda.org/t/crtm-v3-test-fail/629/1 "2024-10-16T21:28:21Z")

</div>

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.](https://github.com/JCSDA/CRTMv3).  
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?
