Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

undefined reference to 'chdir_' and 'system_'

Hi,

I am getting this error when I compile CCSM.


Code:
shr_sys_mod.o: In function `__shr_sys_mod_MOD_shr_sys_chdir':
shr_sys_mod.F90:(.text+0x7da): undefined reference to `chdir_'
shr_sys_mod.o: In function `__shr_sys_mod_MOD_shr_sys_system':
shr_sys_mod.F90:(.text+0x7fb): undefined reference to `system_'
collect2: ld returned 1 exit status


My Macros.Linux can be found here - http://pastebin.com/f24c5c581

I have configured it as generic_linux and am trying T31_gx3v5.

Could someone tell me what is missing? Let me know if you may require any other information.

Thanks,
Sumit
 
Top