Hello StegmannJCSDA,
As per your suggestion i have compiled crtm-2.3.0 with gcc compiler successfully.
below is the module i have use for compiling: -
$ module load gnu/lib/hdf5/1.10.0 gnu/lib/netcdf_c/4.6.0 gnu/lib/lapack_netlib/3.8.0.
$ under lib directory this is the file generated.
ls /software/crtm/raj/crtm_gcc/REL-2.3.0/codes/crtm_v2.3.0/lib/
libcrtm.a
ls /home/raj/software/crtm/raj/crtm_gcc/REL-2.3.0/codes/crtm_v2.3.0/include
accoeff_binary_io.mod crtm_irlandcoeff.mod datetime_utility.mod odas_binary_io.mod
accoeff_define.mod crtm_irsnowcoeff.mod ellison.mod odas_define.mod
ada_module.mod crtm_irssem.mod emission_module.mod odas_predictor.mod
aerosolcoeff_binary_io.mod crtm_irwatercoeff.mod endian_utility.mod odas_predictor_define.mod
aerosolcoeff_define.mod crtm_k_matrix_module.mod file_utility.mod odas_taucoeff.mod
aovar_define.mod crtm_lifecycle.mod fitcoeff_define.mod odps_atmabsorption.mod
asvar_define.mod crtm_lowfrequency_mwssem.mod foam_utility_module.mod odps_binary_io.mod
azimuth_emissivity_f6_module.mod crtm_model_profiles.mod fresnel.mod odps_coordinatemapping.mod
azimuth_emissivity_module.mod crtm_module.mod fundamental_constants.mod odps_define.mod
binary_file_utility.mod crtm_moleculescatter.mod guillou.mod odps_predictor.mod
cloudcoeff_binary_io.mod crtm_mw_ice_sfcoptics.mod hyperbolic_step.mod odps_predictor_define.mod
cloudcoeff_define.mod crtm_mw_land_sfcoptics.mod iatm_define.mod odps_taucoeff.mod
common_rtsolution.mod crtm_mw_snow_sfcoptics.mod irwatercoeff_define.mod odssu_atmabsorption.mod
compare_float_numbers.mod crtm_mw_water_sfcoptics.mod large_scale_correction_module.mod odssu_binary_io.mod
crtm_adjoint_module.mod crtm_mwwatercoeff.mod liu.mod odssu_define.mod
crtm_aerosol_define.mod crtm_nltecorrection.mod lseatlas_define.mod odssu_taucoeff.mod
crtm_aerosolcoeff.mod crtm_options_define.mod message_handler.mod odzeeman_atmabsorption.mod
crtm_aerosolscatter.mod crtm_parameters.mod mwwatercoeff_define.mod odzeeman_predictor.mod
crtm_ancillaryinput_define.mod crtm_planck_functions.mod mwwaterlut_define.mod odzeeman_taucoeff.mod
crtm_antennacorrection.mod crtm_predictor.mod nesdis_amsre_siceem_module.mod pafv_define.mod
crtm_aod_module.mod crtm_predictor_define.mod nesdis_amsre_snowem_module.mod profile_utility_parameters.mod
crtm_atmabsorption.mod crtm_rtsolution.mod nesdis_amsu_siceem_module.mod reflection_correction_module.mod
crtm_atmoptics.mod crtm_rtsolution_define.mod nesdis_amsu_snowem_module.mod rtv_define.mod
crtm_atmoptics_define.mod crtm_secategory.mod nesdis_atms_seaice_lib.mod search_utility.mod
crtm_atmosphere.mod crtm_sensordata_define.mod nesdis_atms_seaice_module.mod secategory_define.mod
crtm_atmosphere_define.mod crtm_sensorinfo.mod nesdis_atms_snowem_module.mod sensorinfo_parameters.mod
crtm_channelinfo_define.mod crtm_sfcoptics.mod nesdis_landem_module.mod slope_variance.mod
crtm_cloud_define.mod crtm_sfcoptics_define.mod nesdis_mhs_siceem_module.mod small_scale_correction_module.mod
crtm_cloudcoeff.mod crtm_spccoeff.mod nesdis_mhs_snowem_module.mod soi_module.mod
crtm_cloudcover_define.mod crtm_surface_define.mod nesdis_seaice_phyem_module.mod sort_utility.mod
crtm_cloudscatter.mod crtm_tangent_linear_module.mod nesdis_snowem_atms_parameters.mod spccoeff_binary_io.mod
crtm_fastem1.mod crtm_taucoeff.mod nesdis_snowem_parameters.mod spccoeff_define.mod
crtm_fastemx.mod crtm_utility.mod nesdis_ssmi_module.mod spectral_units_conversion.mod
crtm_forward_module.mod crtm_vis_ice_sfcoptics.mod nesdis_ssmi_siceem_module.mod ssu_input_define.mod
crtm_geometry_define.mod crtm_vis_land_sfcoptics.mod nesdis_ssmi_snowem_module.mod string_utility.mod
crtm_geometryinfo.mod crtm_vis_snow_sfcoptics.mod nesdis_ssmis_seaiceem_module.mod subset_define.mod
crtm_geometryinfo_define.mod crtm_vis_water_sfcoptics.mod nesdis_ssmis_snowem_module.mod taucoeff_define.mod
crtm_interpolation.mod crtm_visicecoeff.mod nlte_parameters.mod timing_utility.mod
crtm_ir_ice_sfcoptics.mod crtm_vislandcoeff.mod nlte_predictor_define.mod type_kinds.mod
crtm_ir_land_sfcoptics.mod crtm_vissnowcoeff.mod nlte_predictor_io.mod unittest_define.mod
crtm_ir_snow_sfcoptics.mod crtm_viswatercoeff.mod nltecoeff_binary_io.mod zeeman_input_define.mod
crtm_ir_water_sfcoptics.mod csvar_define.mod nltecoeff_define.mod zeeman_utility.mod
crtm_iricecoeff.mod date_utility.mod odas_atmabsorption.mod
Note -: Now the problem is same with crtm-tutorial.
Maybe you have bug with this version, please help me to fix this issue.
I am trying to compile in CRAY HPC server
$ cd CRTM_tutorial/
raj@elogin03:~/software/crtm/raj/crtm_gcc/CRTM_tutorial> ls
K-Matrix_SVD K-Matrix_test LICENSE.txt NakajimaKing README.md doc
raj@elogin03:~/software/crtm/raj/crtm_gcc/CRTM_tutorial> cd K-Matrix_test/
raj@elogin03:~/software/crtm/raj/crtm_gcc/CRTM_tutorial/K-Matrix_test>cat makefile
all:
gfortran -c -I/home/raj/software/crtm/raj/crtm_gcc/REL-2.3.0/codes/crtm_v2.3.0/include KMatrix_test.f90
gfortran -L/home/raj/software/crtm/raj/crtm_gcc/REL-2.3.0/codes/crtm_v2.3.0/lib/libcrtm.a -o K.x KMatrix_test.o
clean:
@rm *.o *.mod
raj@elogin03:~/software/crtm/raj/crtm_gcc/CRTM_tutorial/K-Matrix_test> make clean
rm: cannot remove ‘*.mod’: No such file or directory
makefile:6: recipe for target ‘clean’ failed
make: *** [clean] Error 1
raj@elogin03:~/software/crtm/raj/crtm_gcc/CRTM_tutorial/K-Matrix_test> make
gfortran -c -I/home/raj/software/crtm/raj/crtm_gcc/REL-2.3.0/codes/crtm_v2.3.0/include KMatrix_test.f90
gfortran -L/home/raj/software/crtm/raj/crtm_gcc/REL-2.3.0/codes/crtm_v2.3.0/lib/libcrtm.a -o K.x KMatrix_test.o
KMatrix_test.o: In function MAIN__': KMatrix_test.f90:(.text+0x1aca): undefined reference to
__crtm_module_MOD_crtm_version’
KMatrix_test.f90:(.text+0x1b83): undefined reference to __message_handler_MOD_program_message' KMatrix_test.f90:(.text+0x1eda): undefined reference to
__crtm_lifecycle_MOD_crtm_init’
KMatrix_test.f90:(.text+0x1f9b): undefined reference to __message_handler_MOD_display_message' KMatrix_test.f90:(.text+0x1fde): undefined reference to
__crtm_channelinfo_define_MOD_crtm_channelinfo_n_channels’
KMatrix_test.f90:(.text+0x4ab0): undefined reference to __message_handler_MOD_display_message' KMatrix_test.f90:(.text+0x4b22): undefined reference to
__crtm_atmosphere_define_MOD_crtm_atmosphere_create’
KMatrix_test.f90:(.text+0x4b59): undefined reference to __crtm_atmosphere_define_MOD_crtm_atmosphere_associated' KMatrix_test.f90:(.text+0x4c43): undefined reference to
__message_handler_MOD_display_message’
KMatrix_test.f90:(.text+0x4d15): undefined reference to __crtm_atmosphere_define_MOD_crtm_atmosphere_create' KMatrix_test.f90:(.text+0x4db4): undefined reference to
__crtm_atmosphere_define_MOD_crtm_atmosphere_associated’
KMatrix_test.f90:(.text+0x4ead): undefined reference to __message_handler_MOD_display_message' KMatrix_test.f90:(.text+0x4f4f): undefined reference to
__crtm_geometry_define_MOD_crtm_geometry_setvalue’
KMatrix_test.f90:(.text+0x4fdf): undefined reference to __crtm_atmosphere_define_MOD_crtm_atmosphere_zero' KMatrix_test.f90:(.text+0x5069): undefined reference to
__crtm_surface_define_MOD_crtm_surface_zero’
KMatrix_test.f90:(.text+0x537d): undefined reference to __crtm_k_matrix_module_MOD_crtm_k_matrix' KMatrix_test.f90:(.text+0x543f): undefined reference to
__message_handler_MOD_display_message’
KMatrix_test.f90:(.text+0x59f4): undefined reference to __crtm_lifecycle_MOD_crtm_destroy' KMatrix_test.f90:(.text+0x5aa8): undefined reference to
__message_handler_MOD_display_message’
KMatrix_test.f90:(.text+0x5b41): undefined reference to __crtm_atmosphere_define_MOD_crtm_atmosphere_destroy' KMatrix_test.f90:(.text+0x5b78): undefined reference to
__crtm_atmosphere_define_MOD_crtm_atmosphere_destroy’
collect2: error: ld returned 1 exit status
makefile:2: recipe for target ‘all’ failed
make: *** [all] Error 1
Thnaks in advance.