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

CAM3 Installation problem on Itanium

Hello,

I am trying to install CAM3 on an Itanium cluster, running on Linux. I am having problems with compiling the sources. It fails on BalanceCheckMod.F90 with the following error message:

module BALANCECHECKMOD
module subroutine BALANCECHECK

use time_manager, only : get_step_size, get_nstep

Error 208 at (63:/home/cas/casnan/rpb/source/cam1/models/lnd/clm2/src/biogeophys/BalanceCheckMod.F90) : No such entity in the module

Error 208 at (63:/home/cas/casnan/rpb/source/cam1/models/lnd/clm2/src/biogeophys/BalanceCheckMod.F90) : No such entity in the module

2 Errors
compilation aborted for /home/cas/casnan/rpb/source/cam1/models/lnd/clm2/src/biogeophys/BalanceCheckMod.F90 (code 1)
gmake: *** [BalanceCheckMod.o] Error 1

I could only guess the 'missing' entities to be get_step_size and get_nstep. However, when I scroll up the console, I can see that time_manager.F90 has been compiled properly with all the functions and subroutines listed as follows:

module TIME_MANAGER
module subroutine TIMEMGR_PRESET
module subroutine TIMEMGR_INIT
module subroutine TIMEMGR_RESTART
module subroutine TIMEMGR_PRINT
module subroutine ADVANCE_TIMESTEP
module function GET_STEP_SIZE
module function GET_NSTEP
module subroutine GET_CURR_DATE
module subroutine GET_PERP_DATE
module subroutine GET_PREV_DATE
module subroutine GET_START_DATE
module subroutine GET_REF_DATE
module subroutine GET_CURR_TIME
module function GET_CURR_CALDAY
module function IS_END_CURR_DAY
module function IS_END_CURR_MONTH
module function IS_FIRST_STEP
module function IS_FIRST_RESTART_STEP
module function IS_LAST_STEP
module function IS_PERPETUAL
module subroutine TIMEMGR_WRITE_RESTART
module subroutine TIMEMGR_READ_RESTART
module subroutine TIMEMGR_DATEDIFF
module subroutine CHKRC

1138 Lines Compiled


I am using efc & ecc compilers for the Itanium. Kindly help me as to what probably is going wrong.

Thanks,
rpb
 

pasha_@ngs_ru

New Member
I had the similar problem. Try to write "use time_manager" instead of "use time_manager, only : get_step_size, get_nstep". It could help.
And by the way, which version of the compiler are you using?
 
Thanks for the reply, jP !!

But it did not help as much. When I changed as suggested, I started getting a new error mesage:

This entity has not been given a type ( referring to get_nstep )

When I somehow managed to bypass the BalanceCheckMod.F90, it went ahead and started giving "Compiler Intercal Error" on some other programs. I am coming to believe that I am using an older version of efc and hence facing the problem.

Versions:

efc:

Intel(R) Fortran Itanium(R) Compiler for Itanium(R)-based applications
Version 7.0, Build 20021028

Is this the version that was used by jP? Kindly let me know.

Thanks,
rpb
 

pasha_@ngs_ru

New Member
Yes, you r correct. The problem is in older version of the compiler. I managed to compile the code using Intel fortran 8.1. I heard many times this version is considerably better than 7.x and even 8.0

Goog luck!
 

gcarr@ucar_edu

New Member
At this time CCSM is not validated on any Itanium systems. When we are able to complete the tests and validation, the modifications will be posted. We do not know when that will occur.
 
Top