Intel Compilers


Free Intel compilers (non-commercial use) work with G-RSM on Linux machines
http://www.intel.com/cd/software/products/asmo-na/eng/download/download/219771.htm

Download the model from ECPC using CVS and choose MACHINE=intel in configure-libs.

One thing to note: If rfcst.x crashes with segmentation fault, suspect this problem:

rand() function results in a segmentation fault. You need to insert line "USE IFPORT" at the beginning of fcst/setras.F . This problem might apply to other machines G-RSM has not been run on before. The problem has been reported with some versions of Intel compilers. If the model fails with a segmentation fault error, suspect this problem.

Lei Zhou reported that changing rand() to rand(,) also work.

Discussions

vmisra

intel-Linux

vmisra 07 November 2008 19:30:48

Kei,
When we compile and run rsm_latest version on on intel-Linux, it is best that O2 optimization is used instead of O3. O3 causes some weird behavior of the model. It does not blow up, but the simulated climate is very unrealistic at least for the LBA domain.

mkanamitsu
mkanamitsu 07 November 2008 23:32:57

Vasu,

I encountered serious error with intel compiler once. It was an old intel compiler. I was able to trace it to the *exp.F files used in radiation (in rgsm and rgsm_par directory). I my case, I had to compile those codes with optimization turned off (-o), but leave other codes as they are (compiled with -O3).