Dec-Alpha System
I am writing this message as some useful notes for people who would like to run cvsrsm in dec-alpha platform:
For some reason cpp (pre-processor) does not recognize the C-statements. So the following Makefiles (may be some more) have to be edited:
vi src/sfcl/Makefile.in
vi src/sfcl_par/Makefile.in
vi src/share/Makefile.in
vi src/rsml/Makefile.in
vi src/rsml_par/Makefile.in
vi src/rgsm/Makefile.in
vi src/rgsm_par/Makefile.in
vi src/rmtn/Makefile.in
vi src/rinpg/Makefile.in
vi src/rfcst/Makefile.in
vi src/rfcst_par/Makefile.in
vi src/rpgb/Makefile.in
vi src/rpgb_par/Makefile.in
vi src/co2/Makefile.in
vi src/sfc0/Makefile.in
vi src/rmpi/Makefile.in
In the above make files you have to make the following change:
To remove the C-style comments from the old makefile.in ... e.g.
${CPP} -P ${INCLUDE_DIR} $*.F >$*.i
I just added the 'sed' operation:
${CPP} -P ${INCLUDE_DIR} $*.F | sed '/^\//d' >$*.i
which just removes any line beginning w/a slash.
Before you run configure-model you have to edit define.h in the RSM directory and remove blank spaces after '=' sign.
Then edit runs/runscr/envset.in and replace prun with dmpirun
and edit runs/configure-scr and replace all `pwd` with
`pwd | sed 's?/tmp_mnt??g'
Vasu Misra (
misra@cola.iges.org)