Install G-RSM library, source and run scripts from cvs repository The default version of this run is: trunk ./install --help for help. PRESS <ENTER> TO PROCEED.
Model choices gsm rsm crsm nhm roms scm gdas cpl ? [return=gsm]==>
Machine architecture: Type single/thread/mpi/hybrid [return=mpi]?==>
Institution Enter INSTITUTION, ? for list, [return=sio] ==>
Machine CPU type Type MACHINE, ? for list [return=linux].==>
Machine nickname Type the machine nickname [return=compas] ==>
Compiler Enter COMPILER, ? for list [return=pgi]. ==>
Additional options: If you need to change mpi-version=1 compile-in-64-bit=no linux-distribution=1 distribution-vsn=0 enter yes, else press enter or no==>
Model resolution specification
Type the number associated with your model dimension specification. If there is no choice available, type 999 [return=8]==>
Choice of run script: gsm: Which script do you want to run? amip cases cases_iri gsm gsm_inc gsmrt test [return=test]==>
how I make to get model RSM?
Hi,
I try to install T248L28 GSM but get segmentation fault when running mtn.sh (mtn.x). I specified inst gsm_latest hi during installation. Please advise. Thanks.
Sai Ming
Have you set the stack siad.ucsd.edu\mkanamitsu
Hi,
I have just downloaded and run "gsm_latest lo" but it fails at chgr.x. I was running it with the test data files, hence nothing was modified.
Sai Ming
We also identified the problem. We are looking at them right now, but you can avoid the problem for time being by doing the following:
cd gsm/src/chgr
rm *.F
cvs update -D20070701
make
This procedure will get the codes before the changes were made and it is tested to work
Hi,
I would like to try nesting of a 15km RSM within a 60km RSM. How could this be done?
Sai Ming
Read CRSM Part 1 and 2 in Sample Experiments section (in the left bar).
I need to compile the programs in libs/etc so that I can read and manage data output.
After calling 'make clean' and 'configure-libs' in my libs directory, I run 'make'. My fortran compiler is ifort (i do not have pgf), so I have set 'MACHINE=intel' in my configure-libs file. A lot of objects are compiled before I get to the following error:
ifort -r8 -O3 -convert big_endian -c grmean.f
ifort -r8 -O3 -convert big_endian -o grmean.x grmean.o /home/dmansbac/usr/local/bin/libs/lib/w3lib.a /home/dmansbac/usr/local/bin/libs/lib/libncaru.a
grmean.o: In function `MAIN__':
grmean.f:(.text+0x6f5): undefined reference to `numchar_'
grmean.f:(.text+0x113d): undefined reference to `numchar_'
make[2]: * [grmean.x] Error 1
make[2]: Leaving directory `/home/dmansbac/usr/local/bin/libs/etc/util_intel'
make[1]: * [all] Error 8
make[1]: Leaving directory `/home/dmansbac/usr/local/bin/libs/etc'
make: *** [libs] Error 8
I have not yet changed any compiler options, but I am not really sure of what type of error this is and what the best way to proceed is.
Please check carefully that the MACHINE in configure-libs is defined as intel (MACHINE=intel) without any spaces. Then:
./configure-libs
make clean
make
If you still get the same error, please send me the file
libs/etc/Makefile
After making the libs I tried the composit script from the CEC utilities. I made a simple, three line listfile with three different yyyymmdd dates, and set the listfile, outfile, and outdir terms in the composit file.
I run ./composit but it ends badly.
The last few lines are:
IFTS,IFTE= -999 -999
status= 25 45924452 33204 1 58200 500
0 12125028 1215543176 1125103465 1194425581 4096
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0
file size= 12125028
INCREASE MDATA to 32200
abort: Fortran Abort Called
---
No output files were written.
I don't know what I'm missing here.
As you see in the output, you need to increase MDATA to 32200. Go to libs/etc/util_intel and edit grmean.F. Change MDATA to 32200. Please be careful that the MDATA may appear multiple places in the grmean.F. You need to change all MDATA to 32200. After the change, save grmean.F and then type 'make'. This should create a new grmean.x. Try your composite script again.
Hello,
We have been struggling to get G-RSM to like a certain GCM data as input (the model works well with NCEP data well). A former collague with one of the people in our work group suggested to try the model version that was being used during 07/27/2007 -- as he seemed to have gotten G-RSM to like the GCM data for that specific version.
How would I find out versions and able to get specific version of the model? Of course our error suggested strongly that our GCM data being used now somehow was incompatible how latest version G-RSM read input data.
Thank you in advance
Sorry, I found an answer being posted already. Thank you
I'm trying to install RSM on Red Hat Ent ver 4
with pgf90 -V
pgf90 7.2-3 64-bit target on x86-64 Linux -tp p7-64
./inst rsm_latest hi
After I get libs built, the RSM make fails with:
pgf90 -r8 -O2 -Msave -Mrecursive -Mdalign -DLINUX -byteswapio -c tersub.f
if [ linux = mac ] ; then \
ranlib -s /mnt/disk2/users/xtuser/nmod/libs/lib/modelib.a ; \
fi
pgf90 -r8 -O2 -Msave -Mrecursive -Mdalign -DLINUX -byteswapio -o mtn.x equallat.o gausslat.o legendre.o makemt.o makeoa.o mtn.o nntprt.o sphert.o tersub.o /mnt/disk2/users/xtuser/nmod/libs/lib/modelib.a
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x2): In function `hpf_myprocnum':
: relocation truncated to fit: R_X86_64_PC32 hpf_lcpu
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x12): In function `hpf_ncpus':
: relocation truncated to fit: R_X86_64_PC32 hpf_tcpus
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x22): In function `hpf_getioproc':
: relocation truncated to fit: R_X86_64_PC32 hpf_ioproc
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x32): In function `hpf_is_ioproc':
: relocation truncated to fit: R_X86_64_PC32 hpf_ioproc
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x38): In function `hpf_is_ioproc':
: relocation truncated to fit: R_X86_64_PC32 hpf_lcpu
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x5f): In function `hpf_abort':
: relocation truncated to fit: R_X86_64_PC32 hpf_lcpu
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0xeb): In function `hpf_abortp':
: relocation truncated to fit: R_X86_64_PC32 hpf_lcpu
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x127): In function `hpf_initarg':
: relocation truncated to fit: R_X86_64_PC32 .bss
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x151): In function `hpf_initarg':
: relocation truncated to fit: R_X86_64_PC32 .bss
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x17b): In function `hpf_initarg':
: relocation truncated to fit: R_X86_64_PC32 .bss
/opt/pgi/linux86-64/7.2-3/lib/libpgf90.a(initpar.o)(.text+0x18b): In function `hpf_initarg':
: additional relocation overflows omitted from the output
make[2]: * [mtn.x] Error 2
make[2]: Leaving directory `/mnt/disk2/users/xtuser/nmod/rsm/src/mtn'
make[1]: * [rsm] Error 8
make[1]: Leaving directory `/mnt/disk2/users/xtuser/nmod/rsm/src'
make: *** [all] Error 8
Is this a compiler version error? Should I check with PGI?
Thanks,
Merrill
The error output is:
more albaer.out
PGFIO-F-209/formatted read/unit=11/'OLD' specified for file which does not exist.
In source file albaer.f, at line number 59
I can see why, the link is not quite right:
ls -l
total 2476
-rw-rw-r-- 1 xtuser xtuser 365860 Apr 29 12:29 aer_out.asc
-rw-rw-r-- 1 xtuser xtuser 126 Apr 29 12:29 albaer.out
-rw-rw-r-- 1 xtuser xtuser 15 Apr 29 12:29 albaer.parm
-rw-rw-r-- 1 xtuser xtuser 439026 Apr 29 12:29 alb_out.asc.fal01?4
-rw-rw-r-- 1 xtuser xtuser 439026 Apr 29 12:29 alb_out.asc.spr01?4
-rw-rw-r-- 1 xtuser xtuser 439026 Apr 29 12:29 alb_out.asc.sum01?4
-rw-rw-r-- 1 xtuser xtuser 439026 Apr 29 12:29 alb_out.asc.win01?4
-rw-rw-r-- 1 xtuser xtuser 7588 Apr 29 12:29 cnvaer.out
-rw-rw-r-- 1 xtuser xtuser 28 Apr 29 12:29 cnvaer.parm
-rw-rw-r-- 1 xtuser xtuser 46181 Apr 29 12:29 cnvalb.f
-rwxrwxr-x 1 xtuser xtuser 46677 Jan 22 12:41 cnvalb.F
-rw-rw-r-- 1 xtuser xtuser 45272 Apr 29 12:29 cnvalb.o
-rw-rw-r-- 1 xtuser xtuser 8143 Apr 29 12:29 cnvalb.out
-rw-rw-r-- 1 xtuser xtuser 29 Apr 29 12:29 cnvalb.parm
-rwxrwxr-x 1 xtuser xtuser 36412 Apr 29 12:29 cnvalb.x
drwxrwxr-x 2 xtuser xtuser 4096 Apr 28 09:57 CVS
lrwxrwxrwx 1 xtuser xtuser 15 Apr 29 12:29 fort.11 -> alb_out.asc.win
lrwxrwxrwx 1 xtuser xtuser 15 Apr 29 12:29 fort.12 -> alb_out.asc.spr
lrwxrwxrwx 1 xtuser xtuser 15 Apr 29 12:29 fort.13 -> alb_out.asc.sum
lrwxrwxrwx 1 xtuser xtuser 15 Apr 29 12:29 fort.14 -> alb_out.asc.fal
lrwxrwxrwx 1 xtuser xtuser 11 Apr 29 12:29 fort.21 -> aer_out.asc
lrwxrwxrwx 1 xtuser xtuser 47 Apr 29 12:29 fort.51 -> /mnt/disk2/users/xtuser/nmod/rsm/bin/albaer.snl
-rw-rw-r-- 1 xtuser xtuser 2511 Apr 29 12:29 glats.f
-rwxrwxr-x 1 xtuser xtuser 2511 Jan 22 12:41 glats.F
-rw-rw-r-- 1 xtuser xtuser 2928 Apr 29 12:29 glats.o
-rw-rw-r-- 1 xtuser xtuser 1199 Apr 29 12:01 Makefile
-rwxrwxr-x 1 xtuser xtuser 1055 Jan 22 16:34 Makefile.in
-rw-rw-r-- 1 xtuser xtuser 1134 Apr 29 12:29 poly.f
-rwxrwxr-x 1 xtuser xtuser 1134 Jan 22 12:41 poly.F
-rw-rw-r-- 1 xtuser xtuser 1968 Apr 29 12:29 poly.o
Where do I look for the code that creates those files?
Merrill
Hello,
I am trying to install the latest RSM with high topo on NCAR (Bluefire). (By the way, Bluefire is not recognized. I have to manually enter "ncar" and choose "ibmspbv"). The installation fails when building libraries:
Sorry for inconvenience. Please edit libs/Makefile and delete the line that contains "romcon" and make again.
The error was fixed. You may go to libs/makefiles directory, and type 'cvs update', then cd ../ and configure-libs, make should correct the problem.
When I execute ./rsm.in under the directory of expscr , I got the following error information:
+ RUNNAME=r_000
+ USEERA=0
+ ENDHOUR=48
+ DELTAT_REG=@DELTAT_REG_WINTER@
+ NESTING_HOUR=6
+ SWHR_REG=1
+ LWHR_REG=1
+ INTSFCX=24
+ INCHOUR=6
+ INTPOST=3
+ INTPGB=3
+ INTRESTART=6
+ FCST_RESTART=yes
+ DELETE_SIGGLOB=yes
+ '[' 6 -lt 24 ']'
+ echo 'INCHOUR < INTSFCX'
INCHOUR < INTSFCX
+ echo 'INCHOUR set to INTSFCX to make sure sfc is called.'
INCHOUR set to INTSFCX to make sure sfc is called.
+ EXECDIR=@PWD@/r_000
+ SST_ANL_T0=
+ SST_ANL=
+ SNO_ANL_T0=
+ SNO_ANL=
+ ICE_ANL_T0=
+ ICE_ANL=
+ FCST_NPES=@NPES@
+ GLOBAL_SIG_INITIAL=@CON_DIR@/sigft0090030900.asc
+ GLOBAL_SFC_INITIAL=@CON_DIR@/sfcanl90030900.asc
+ INITIAL_SFC_FILE_TYPE=osu1
+ BASE_SIG='@CON_DIR@/sigft${FH}90030900.asc'
+ YYYYS=1990
+ MMS=03
+ DDS=09
+ HHS=00
+ CPROJ=0.0
+ CTRUTH=0.0
+ CORIENT=0.0
+ CDELX=0.0
+ CDELY=0.0
+ CCENLAT=0.0
+ CCENLON=0.0
+ CLFTGRD=0.0
+ CBTMGRD=0.0
+ . @RUNSCR_DIR@/envset
./rsm.in: line 86: @RUNSCR_DIR@/envset: no such file or directory
What should I do to deal with this problem? Thanks.
By the way, is "setenv path .:$path" the right way to "add ‘.’ To your PATH in .cshrc file" ?
Thanks.
All the variables defined with @...@ should be replaced by the actual values when "configure-scr gsm " is executed. Please run "configure-scr gsm" again to see what happens. If you still encounter the same problem, please post the output of configure-scr, and we might be able to help.
Hi all !!
Currently I am trying to port Global Spectral Model. I had followed the steps specified at
http://ecpc.ucsd.edu/projects/G-RSM/docs/INT/index.html
Changes specific to my cluster are as follows:
1> configure-libs
MACHINE=intel
MARCH=mpi
2> configure-model
LIBS_DIR=$HOME/GSM/libs
MODEL=gsm
MODEL_DEFINE=$HOME/GSM/gsm/def/gsm12628
GTOPO30=no
MARCH=mpi
NPES=16
NCPUS=1
INSTITUTION=ecpc
Other configuration compilation steps are same. I was able to run gsm with T62L28 successfully.
Now I am trying to run with higher resolution like T126L28. When I try to run gsm12628 I am getting error as
ERROR.out => "$HOME/GSM/libs/etc/scnvrt: Execution failed"
hit eof while reading sigma file
abort:
It is probably because the input resolution is not set for t62k28. Please check ijcap etc in your gsm/define.h.
#define _ilonf_ 192
#define _ilatg_ 94
#define _ijcap_ 62
#define _ilevs_ 28
is appropriate parameters for your case. And re-compile the whole package (except libs).
Somehow the T126 version gsm assumes the same resolution for input data. Probably due to a historical reason;-).
Kei
hello !
I am trying to install RSM on NERSC machine (franklin) and by following the instructions I am getting errors. It happens when running the makefile in
/scratch/scratchdirs/hafner/0SCOAR/RSM/RSM_20100127/rsm
the error type :
/global/homes/h/hafner/scratch/0SCOAR/RSM/RSM_20100127/rsm/bin/gsml.a(gbphys.o): In function `gbphys_':
./gbphys.f:640: undefined reference to `sfcdif_'
./gbphys.f:640: undefined reference to `sfcdrv_'
./gbphys.f:640: undefined reference to `sfcdiag_'
./gbphys.f:803: undefined reference to `kf2cnv_'
./gbphys.f:845: undefined reference to `cnvcldn_'
./gbphys.f:845: undefined reference to `lrgscl_'
apparently some routines do not get compiled and linked into library. I discovered that some of the necessary routines are under subdirectories, e.g.
sfcdif.F is
/scratch/scratchdirs/hafner/0SCOAR/RSM/RSM_20100127/rsm/src/gsml
and under two subdirectories : NOALSM1/sfcdif.F VICLSM1/sfcdif.F
please if you have any hint or idea what I am doing wrong let me know ..
thanks !
Jan Hafner (IPRC)
Hi Jan,
For a quick solution, I suggest you to use "preroms" version, which is described on the first page of this Wiki, since the new version ("roms" version) has not been tested on Franklin.
Sorry for inconvenience,
Kei
Hello,
I am trying to install RSM on franklin machine, but the automated make script does not complete.
Once the ./install script starts it quits with the message:
It is likely that you have not run configure-model. Please post define.h in your rsm directory.
Hi,
I try to perform installation by following the instructions. However, I have encountered following errors :
1. When checkout from rokka.ucsd.edu, i will get error message : can't create temporary directory /tmp/cvs-serv27779
No space left on device
2. I tried checkout "Install" from 219.142.99.7, it works but when i execute the install script, the following error messages prompted :
cvs co libs_rsm
+ cvs co libs_rsm
cvs server: cannot find module `lib/0READ.ME' - ignored
cvs server: cannot find module `lib/Makefile.in' - ignored
cvs server: cannot find module `lib/modelib' - ignored
cvs server: cannot find module `lib/ncaru' - ignored
cvs server: cannot find module `lib/w3lib' - ignored
cvs server: cannot find module `lib/w3lib_cray' - ignored
cvs server: cannot find module `lib/w3lib_dec' - ignored
cvs server: cannot find module `lib/w3lib_hp' - ignored
cvs server: cannot find module `lib/w3lib_ibmsp' - ignored
cvs server: cannot find module `lib/w3lib_origin' - ignored
cvs server: cannot find module `lib/w3lib_sgi' - ignored
cvs server: cannot find module `lib/w3lib_sun' - ignored
cvs server: cannot find module `lib/w3lib_t90' - ignored
cvs server: cannot find module `lib/w3lib_t3e' - ignored
cvs server: cannot find module `lib/w3lib_linux' - ignored
cvs server: cannot find module `lib/w3lib_nec' - ignored
cvs server: cannot find module `lib/w3lib_es' - ignored
cvs server: cannot find module `lib/w3lib_mac' - ignored
cvs server: cannot find module `lib/w3lib_intel' - ignored
cvs server: cannot find module `lib/w3lib_sx6' - ignored
cvs server: cannot find module `lib/w3lib_ibmspbv' - ignored
cvs server: cannot find module `lib/w3lib_ibmspbs' - ignored
cvs server: cannot find module `lib/w3lib_ibmspbl' - ignored
cvs server: cannot find module `etc' - ignored
cvs [checkout aborted]: cannot expand modules
Thanks a lot for any help.
Sorry, the cvs server was down due to filled up /tmp space. It is now fixed. Please try again.
I given ./install and selected rsm script..
then it shows the following error
.. help me in fixing this error
Executing configure-model in rsm
+ ./configure-model
Key variables and their values used to make sysvars definition file:
BIT64=no
COMPILER=intel
DEBUG=no
INSTITUTION=prl
LINUXVSN=0
MACHINE=linux
MARCH=mpi
MPIVSN=1
NETCDFVSN=3
NICKNAME=midhun
= not defined
Edit and add values to MPICH_DIR
+ exit 8
Please edit the def/sysvars.def like,
I want to install gsm and rsm on IBM AIX P6.
Anybody is familiar with the installation of g-rsm on IBM machines, If so please help me .. Please share the def/sysvars.defs file
Hi Midhun,
please try ibmsp for machine selection. But lately I haven't used the IBM setting, so I'm not so sure if it works.
Kei
I have installed gsm on last week of march 2013. I retained the same sysvars.defs file for a new installation on today (19-june), but I got the following error.....
Problem is resolved. It was the problem with my path settings.
After the rsm run-script compiled, I ran the rsm_runs test then "echo Thu May 12 15:49:37 CST 2016 - rinpg execution failed" happened.
Anyone had same problem as mine?
I am going to make a virtual machine as your system environment.
rmakemt.f(4): error #5192: Lead underscore not allowed
parameter(mtnres_=_rsmtnres_)
------------------------^
rmakemt.f(4): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [_RSMTNRES_]
parameter(mtnres_=_rsmtnres_)
------------------------^
rmakemt.f(4): error #6404: This name does not have a type, and must have an explicit type. [_RSMTNRES_]
parameter(mtnres_=_rsmtnres_)
------------------------^
compilation aborted for rmakemt.f (code 1)
make[2]: * [rmakemt.o] Error 1
make[2]: Leaving directory `/home/lmwu/rsm/crsm/src/rmtn'
make[1]: * [rsm_single] Error 8
make[1]: Leaving directory `/home/lmwu/rsm/crsm/src'
make: *** [all] Error 8
++ exit 8
As above, what is "Lead underscore not allowed" .............???
Hi.
My colleague came across the similar issue, but that time, he mistook the installation process. With the instructed process (following install.sh, or configure-xxx, make clean, make), the issue was resolved. Kei
Please follow the instructions on this page.
Installation.html
Hideki