[cam-users] Re: an error in CAM
Ping Liu
pliu@hawaii.edu
Sat, 27 Sep 2003 05:26:55 +0800
--Boundary_(ID_/o1qkc+KfLcACpv0L3BF8g)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7bit
I added two 'return' in the two files:
1. models/lnd/clm2/src/main/fileutils.F90 line 229 'return'
2. models/atm/cam/src/control/ioFileMod.F90 line 141 'return'
hope it works.
Ping
>Erik,
>Thank you for all your help. I eventually fixed the syntax error (It seems the code works fine with an old version SGI compiler). Now I tried both CAM2.0.1 and CAM2.0.2. The system seems running ok initially. But before I got too excited, a new problem occurred. Thing are fine till NSTEP 71. At the beginning of NSTEP 72, it shows that HTAPES_WRAPUP: history tape 1 : no open file to close Writout out restart data at nstep = 72...... eventually CAM run failed.
>Please look at the attached file for details. Thanks in advance,
>Qingyuan
>
>PS. test run output (ending part):
>
> NSTEP = 52 8.864515272234715E-05 6.938118562527145E-06 252.698
>9.84647E+04 2.475116525440593E+01 0.98 0.17
> NSTEP = 53 8.864395509813973E-05 6.938821439008589E-06 252.699
>9.84647E+04 2.474694823067306E+01 0.98 0.17
> NSTEP = 54 8.864280554191538E-05 6.938892841909272E-06 252.700
>9.84646E+04 2.474375080826653E+01 0.98 0.17
> NSTEP = 55 8.864168218163999E-05 6.939974509441972E-06 252.700
>9.84646E+04 2.474044856261850E+01 0.98 0.18
> NSTEP = 56 8.864073442361741E-05 6.941949674576574E-06 252.701
>9.84646E+04 2.473631801467338E+01 0.98 0.18
> NSTEP = 57 8.863976370420785E-05 6.942875879490711E-06 252.701
>9.84645E+04 2.473361030109745E+01 0.98 0.19
> NSTEP = 58 8.863892148559761E-05 6.945197983428452E-06 252.701
>9.84645E+04 2.473013417467992E+01 0.98 0.19
> NSTEP = 59 8.863811464885902E-05 6.947070283482879E-06 252.701
>9.84645E+04 2.472714491037103E+01 0.98 0.20
> NSTEP = 60 8.863733137140187E-05 6.949431475825186E-06 252.701
>9.84644E+04 2.472380074343556E+01 0.98 0.20
> NSTEP = 61 8.863665234533092E-05 6.951364810544378E-06 252.700
>9.84644E+04 2.472125629562865E+01 0.98 0.21
> NSTEP = 62 8.863598910799507E-05 6.956024589450877E-06 252.699
>9.84644E+04 2.471695245867224E+01 0.97 0.22
> NSTEP = 63 8.863540992210308E-05 6.958860346341987E-06 252.699
>9.84644E+04 2.471471214092974E+01 0.97 0.22
> NSTEP = 64 8.863490017770978E-05 6.963519074888876E-06 252.698
>9.84643E+04 2.471083726650440E+01 0.97 0.22
> NSTEP = 65 8.863450666723213E-05 6.970488973819688E-06 252.696
>9.84643E+04 2.470750058402183E+01 0.97 0.23
> NSTEP = 66 8.863408206063160E-05 6.975463902869835E-06 252.695
>9.84642E+04 2.470361539250276E+01 0.96 0.23
> NSTEP = 67 8.863392183481339E-05 6.983106675146487E-06 252.693
>9.84642E+04 2.470069123854001E+01 0.96 0.23
> NSTEP = 68 8.863353007256817E-05 6.991517912951207E-06 252.691
>9.84642E+04 2.469584825653955E+01 0.95 0.23
> NSTEP = 69 8.863343908646887E-05 7.000391357961529E-06 252.690
>9.84641E+04 2.469255440400948E+01 0.95 0.23
> NSTEP = 70 8.863329887892690E-05 7.009949837922058E-06 252.688
>9.84641E+04 2.468789493524847E+01 0.95 0.23
> NSTEP = 71 8.863312472023519E-05 7.018142375432575E-06 252.686
>9.84641E+04 2.468471287058430E+01 0.95 0.23
> HTAPES_WRAPUP: history tape 1 : no open file to close
> Writout out restart data at nstep = 72
>------------------------------------------------------------
> (OPNFIL): Successfully opened file ./camrun.clm2.r.0000-09-02-00000 on
>unit= 7
> RESTART_HISTORY: Writing history restart information for tape 1
> Successfully wrote local restart file ./camrun.clm2.r.0000-09-02-00000
> (PUTFIL): Issuing shell cmd:(mswrite -t 365
>./camrun.clm2.r.0000-09-02-00000
>/QSONG1/csm/camrun/lnd/rest/camrun.clm2.r.0000-09-02-
> 00000 )&
> (OPNFIL): Successfully opened file
>/ford/ladon/u/qsong1/lnd.camrun.rpointer on unit= 7
> Successfully wrote local restart pointer file
>------------------------------------------------------------
>
>sh: mswrite: not found
> NSTEP = 72 8.863309461462386E-05 7.027011829073160E-06 252.684
>9.84640E+04 2.468058332019063E+01 0.94 0.23
>
>WSHIST: writing time sample 1 to h-tape 2 NCDATE=00000902 NCSEC= 0
>
> RSTWR: returning true due to nlend
> (OPNFIL): Successfully opened file camrun.cam2.r.0000-09-02-00000 on
>unit= 2
> (OPNFIL): Successfully opened file camrun.cam2.rh0.0000-09-02-00000 on
>unit= 4
> PUTFIL: Issuing shell cmd:(mswrite -t 365
>camrun.cam2.rh0.0000-09-02-00000
>/QSONG1/csm/camrun/atm/rest/camrun.cam2.rh0.0000-09-02-
> 00000; /bin/rm camrun.cam2.rh0.0000-09-02-00000 )&
>sh: mswrite: not found
> PUTFIL: Issuing shell cmd:(mswrite -t 365
>camrun.cam2.r.0000-09-02-00000
>/QSONG1/csm/camrun/atm/rest/camrun.cam2.r.0000-09-02-0000
> 0 )&
>sh: mswrite: not found
>sh: 0: not found
> PUTFIL: Error from shell cmd
> ENDRUN IS BEING CALLED
>Fortran abort routine called
>IOT Trap
>Abort (core dumped)
>CAM run failed
>
>-----Original Message-----
>From: Erik Kluzek [mailto:erik@ucar.edu]
>Sent: Wednesday, September 24, 2003 4:58 PM
>To: Song, Qingyuan (Q.)
>Cc: cam-users@ucar.edu
>Subject: RE: [cam-users] Re: an error in CAM
>
>
>On Wed, 24 Sep 2003, Song, Qingyuan (Q.) wrote:
>
>
>
>>I am using CAM2.0.1. I downloaded from your CAM site.
>>
>>
>>
>
>Well, I downloaded CAM2.0.1 from the web-site, and
>was able to successfully build and run the model
>using run-sgi.csh with no trouble. I suggest working
>closely with your system administrators and with SGI
>to figure out what the problem might be. Also compare
>the version numbers and information I sent out with
>your machine for differences that might explain why
>it works here and not at your site...
>
>
>Good luck!
>
>
>Erik Kluzek, (CGD at NCAR)
>National Center for Atmospheric Research
>Boulder CO, (off) (303)497-1326 (fax) (303)497-1324
>--------- Home page and public PGP key---------------
> http://www.cgd.ucar.edu/~erik
>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>_______________________________________________
>cam-users mailing list
>cam-users@ucar.edu
>http://mailman.ucar.edu/mailman/listinfo/cam-users
>
>
>
--
Ping Liu
International Pacific Research Center
University of Hawaii, 2525 Correa Road
Honolulu, HI 96822
phone - 808.956.3305 fax - 808.956.9425
email - pliu@hawaii.edu
web - http://iprc.soest.hawaii.edu/people/pliu.html
--Boundary_(ID_/o1qkc+KfLcACpv0L3BF8g)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
I added two 'return' in the two files:<br>
<br>
1. models/lnd/clm2/src/main/fileutils.F90 line 229 'return'<br>
2. models/atm/cam/src/control/ioFileMod.F90 line 141 'return'<br>
<br>
hope it works.<br>
<br>
Ping<br>
<blockquote type="cite"
cite="midBB48A763F676D311AA4400902789D726154A63FA@na1fcm12.dearborn.ford.com">
<pre wrap="">Erik,
Thank you for all your help. I eventually fixed the syntax error (It seems the code works fine with an old version SGI compiler). Now I tried both CAM2.0.1 and CAM2.0.2. The system seems running ok initially. But before I got too excited, a new problem occurred. Thing are fine till NSTEP 71. At the beginning of NSTEP 72, it shows that HTAPES_WRAPUP: history tape 1 : no open file to close Writout out restart data at nstep = 72...... eventually CAM run failed.
Please look at the attached file for details. Thanks in advance,
Qingyuan
PS. test run output (ending part):
NSTEP = 52 8.864515272234715E-05 6.938118562527145E-06 252.698
9.84647E+04 2.475116525440593E+01 0.98 0.17
NSTEP = 53 8.864395509813973E-05 6.938821439008589E-06 252.699
9.84647E+04 2.474694823067306E+01 0.98 0.17
NSTEP = 54 8.864280554191538E-05 6.938892841909272E-06 252.700
9.84646E+04 2.474375080826653E+01 0.98 0.17
NSTEP = 55 8.864168218163999E-05 6.939974509441972E-06 252.700
9.84646E+04 2.474044856261850E+01 0.98 0.18
NSTEP = 56 8.864073442361741E-05 6.941949674576574E-06 252.701
9.84646E+04 2.473631801467338E+01 0.98 0.18
NSTEP = 57 8.863976370420785E-05 6.942875879490711E-06 252.701
9.84645E+04 2.473361030109745E+01 0.98 0.19
NSTEP = 58 8.863892148559761E-05 6.945197983428452E-06 252.701
9.84645E+04 2.473013417467992E+01 0.98 0.19
NSTEP = 59 8.863811464885902E-05 6.947070283482879E-06 252.701
9.84645E+04 2.472714491037103E+01 0.98 0.20
NSTEP = 60 8.863733137140187E-05 6.949431475825186E-06 252.701
9.84644E+04 2.472380074343556E+01 0.98 0.20
NSTEP = 61 8.863665234533092E-05 6.951364810544378E-06 252.700
9.84644E+04 2.472125629562865E+01 0.98 0.21
NSTEP = 62 8.863598910799507E-05 6.956024589450877E-06 252.699
9.84644E+04 2.471695245867224E+01 0.97 0.22
NSTEP = 63 8.863540992210308E-05 6.958860346341987E-06 252.699
9.84644E+04 2.471471214092974E+01 0.97 0.22
NSTEP = 64 8.863490017770978E-05 6.963519074888876E-06 252.698
9.84643E+04 2.471083726650440E+01 0.97 0.22
NSTEP = 65 8.863450666723213E-05 6.970488973819688E-06 252.696
9.84643E+04 2.470750058402183E+01 0.97 0.23
NSTEP = 66 8.863408206063160E-05 6.975463902869835E-06 252.695
9.84642E+04 2.470361539250276E+01 0.96 0.23
NSTEP = 67 8.863392183481339E-05 6.983106675146487E-06 252.693
9.84642E+04 2.470069123854001E+01 0.96 0.23
NSTEP = 68 8.863353007256817E-05 6.991517912951207E-06 252.691
9.84642E+04 2.469584825653955E+01 0.95 0.23
NSTEP = 69 8.863343908646887E-05 7.000391357961529E-06 252.690
9.84641E+04 2.469255440400948E+01 0.95 0.23
NSTEP = 70 8.863329887892690E-05 7.009949837922058E-06 252.688
9.84641E+04 2.468789493524847E+01 0.95 0.23
NSTEP = 71 8.863312472023519E-05 7.018142375432575E-06 252.686
9.84641E+04 2.468471287058430E+01 0.95 0.23
HTAPES_WRAPUP: history tape 1 : no open file to close
Writout out restart data at nstep = 72
------------------------------------------------------------
(OPNFIL): Successfully opened file ./camrun.clm2.r.0000-09-02-00000 on
unit= 7
RESTART_HISTORY: Writing history restart information for tape 1
Successfully wrote local restart file ./camrun.clm2.r.0000-09-02-00000
(PUTFIL): Issuing shell cmd:(mswrite -t 365
./camrun.clm2.r.0000-09-02-00000
/QSONG1/csm/camrun/lnd/rest/camrun.clm2.r.0000-09-02-
00000 )&
(OPNFIL): Successfully opened file
/ford/ladon/u/qsong1/lnd.camrun.rpointer on unit= 7
Successfully wrote local restart pointer file
------------------------------------------------------------
sh: mswrite: not found
NSTEP = 72 8.863309461462386E-05 7.027011829073160E-06 252.684
9.84640E+04 2.468058332019063E+01 0.94 0.23
WSHIST: writing time sample 1 to h-tape 2 NCDATE=00000902 NCSEC= 0
RSTWR: returning true due to nlend
(OPNFIL): Successfully opened file camrun.cam2.r.0000-09-02-00000 on
unit= 2
(OPNFIL): Successfully opened file camrun.cam2.rh0.0000-09-02-00000 on
unit= 4
PUTFIL: Issuing shell cmd:(mswrite -t 365
camrun.cam2.rh0.0000-09-02-00000
/QSONG1/csm/camrun/atm/rest/camrun.cam2.rh0.0000-09-02-
00000; /bin/rm camrun.cam2.rh0.0000-09-02-00000 )&
sh: mswrite: not found
PUTFIL: Issuing shell cmd:(mswrite -t 365
camrun.cam2.r.0000-09-02-00000
/QSONG1/csm/camrun/atm/rest/camrun.cam2.r.0000-09-02-0000
0 )&
sh: mswrite: not found
sh: 0: not found
PUTFIL: Error from shell cmd
ENDRUN IS BEING CALLED
Fortran abort routine called
IOT Trap
Abort (core dumped)
CAM run failed
-----Original Message-----
From: Erik Kluzek [<a class="moz-txt-link-freetext" href="mailto:erik@ucar.edu">mailto:erik@ucar.edu</a>]
Sent: Wednesday, September 24, 2003 4:58 PM
To: Song, Qingyuan (Q.)
Cc: <a class="moz-txt-link-abbreviated" href="mailto:cam-users@ucar.edu">cam-users@ucar.edu</a>
Subject: RE: [cam-users] Re: an error in CAM
On Wed, 24 Sep 2003, Song, Qingyuan (Q.) wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I am using CAM2.0.1. I downloaded from your CAM site.
</pre>
</blockquote>
<pre wrap=""><!---->
Well, I downloaded CAM2.0.1 from the web-site, and
was able to successfully build and run the model
using run-sgi.csh with no trouble. I suggest working
closely with your system administrators and with SGI
to figure out what the problem might be. Also compare
the version numbers and information I sent out with
your machine for differences that might explain why
it works here and not at your site...
Good luck!
Erik Kluzek, (CGD at NCAR)
National Center for Atmospheric Research
Boulder CO, (off) (303)497-1326 (fax) (303)497-1324
--------- Home page and public PGP key---------------
<a class="moz-txt-link-freetext" href="http://www.cgd.ucar.edu/~erik">http://www.cgd.ucar.edu/~erik</a>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
_______________________________________________
cam-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cam-users@ucar.edu">cam-users@ucar.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/cam-users">http://mailman.ucar.edu/mailman/listinfo/cam-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Ping Liu
International Pacific Research Center
University of Hawaii, 2525 Correa Road
Honolulu, HI 96822
phone - 808.956.3305 fax - 808.956.9425
email - <a class="moz-txt-link-abbreviated" href="mailto:pliu@hawaii.edu">pliu@hawaii.edu</a>
web - <a class="moz-txt-link-freetext" href="http://iprc.soest.hawaii.edu/people/pliu.html">http://iprc.soest.hawaii.edu/people/pliu.html</a></pre>
<br>
</body>
</html>
--Boundary_(ID_/o1qkc+KfLcACpv0L3BF8g)--