frankpeacock@future-shock_demon_co_uk
New Member
Hello
I have compiled/linked CCM3.6 on Windows XP using CVFortran both in serial and SPMD mode.
In serial mode, the program runs perfectly.
In SPMD mode, the input file containing the data for the 'ncdata' variable is interpretted differently with some infinities being read for the pressure levels and consequently resulting in a mathematical singularity occuring. The data file is that which was included in the distribution, namely:
DEC1.T42.1098.nc
Can anyone explain the reason for this?
Thanks
Frank Peacock
London
PS: The output of the run:
Attached is the output for the run:
2 pes participating in computation
-----------------------------------
NODE# NAME
( 0) NUMBER-1
( 1) NUMBER-2
------------------------------------------------------------
------------------------------------------------------------
NCAR Community Climate Model (CCM3) $Name: ccm3_6_6 $ $Date: 1998/07/08 14:22:10 $/, Copyright (C) 1998
University Corporation for Atmospheric Research
All Rights Reserved
------------------------------------------------------------
(Note: Online documentation is available on the CCM3
home page: http://www.cgd.ucar.edu/cms/ccm3/ )
------------------------------------------------------------
DATE 11/13/04 TIME 08:33:54
------------------------------------------------------------
------------------------------------------
*** INPUT VARIABLES (CCMEXP) ***
------------------------------------------
Initial run
********** CASE = Forecast **********
User name to build pathnames = Frank
Initial dataset is: DEc1.T42.0198.nc
Time-variant boundary dataset (sst) is: sstfin.nc
Time-variant boundary dataset (ozone) is: ozn.0596.r8.nc
NO RESTART DATASET will be written
Restart flag (NSREST) 0=no,1=yes,3=branch 0
History files will NOT be disposed to Mass Store
Retention time for restart tapes = 0 Days
Virtual MS volume for restart data (NRMVN) CTPUBLIC
History File 1 write frequency (NHTFRQ) 72
History File 2 write frequency (NHTFRQ) 3
History File 3 write frequency (NHTFRQ) 1
Initial conditions history file
ccmi_yyyymmdd_sssss be written monthly and will be treated as aux file
2
Number of time samples per file (MFILT) for history file 1 is
2
Number of time samples per file (MFILT) for history file 2 is
25
Number of time samples per file (MFILT) for history file 3 is
1
Aux file 1 contains the following fields:
TS
RELHUM
U
V
PSL
Aux file 2 contains the following fields:
U
V
T
Q
PS
PHIS
SGH
ORO
TS1
TS2
TS3
TS4
SICTHK
SNOWH
Fields on history file 1 are instantaneous
Fields on history file 2 are instantaneous
Fields on history file 3 are instantaneous
Base date,seconds of date = 20030331 -9999
Elapsed time to end run (NELAPSE) 72
Time step in seconds (DTIME) 1200.
Time filter coefficient (EPS) 0.060
DEL2 Horizontal diffusion coefficient (DIF2) 0.250E+06
DEL4 Horizontal diffusion coefficient (DIF4) 0.100E+17
Number of levels Courant limiter applied 1
Lowest level for dry adiabatic adjust (NLVDRY) 3
Frequency of Shortwave Radiation calc. (IRADSW) 3
Frequency of Longwave Radiation calc. (IRADLW) 3
Frequency of Absorptivity/Emissivity calc. (IRADAE) 36
Frequency of SST Initialization calc. (ITSST) 1
SST dataset will be reused for each model year
OZONE dataset will be reused for each model year
Output files will be disposed ASYNCHRONOUSLY
divergence damper NOT invoked
global co2 volume mixing ratio = 3.5500000E-04
Visible optical depth (tauvis) = 0.1400000
Orbital parameters calculated for given year: 2004 AD
------------------------------------------
------------------------------------------------------------
Problem decomposes into 2** 6 * 3** 0 * 5** 0
procid 0 assigned 32 latitude values from 1
through 32
procid 1 assigned 32 latitude values from 33
through 64
-----------------------------------------
Number of lats passed north & south = 2
Node Partition Extended Partition
-----------------------------------------
0 1- 32 -1- 34
1 33- 64 31- 66
procid 0 assigned 13 m values from 1 through
13
procid 1 assigned 30 m values from 14 through
43
(GETFIL): attempting to find local file DEc1.T42.0198.nc
(GETFIL): using DEc1.T42.0198.nc in current working directory
INITAL: NCOPN returns id 3 for file DEc1.T42.0198.nc
Machine epsilon= 2.22E-16
1 Layer Locations (*1000)
1 NaN 0.0000 NaN
1349.8708 1654.1111 3003.9819
2 892.9798 0.0000 892.9798
0.0000 -2000.0153 -2000.0153
3 NaN 0.0000 NaN
1317.6117 1702.6591 3020.2708
4 988.6577 0.0000 988.6577
********** NaN NaN
5********** 0.0000 **********
1282.9692 1752.3969 3035.3660
6 1152.3407 0.0000 1152.3407
1999.9810 ********** **********
7********** 0.0000 **********
1244.6764 1779.2081 3023.8845
8 1309.3024 0.0000 1309.3024
********** NaN NaN
9 0.0000 0.0000 0.0000
1175.4672 1805.2471 2980.7144
10 1413.6372 0.0000 1413.6372
0.0000 0.0000 0.0000
11 2000.0000 2000.0076 4000.0076
1099.5868 1829.0153 2928.6023
12 1407.3961 1275.2791 2682.6750
2000.0076 0.0000 2000.0076
13 0.0000 ********** **********
994.3384 1848.8143 2843.1528
14 1399.2634 1423.0525 2822.3157
NaN 0.0000 NaN
15 NaN NaN NaN
897.2000 1863.2972 2760.4971
16 1389.1061 1522.6711 2911.7771
0.0000 1999.9924 1999.9924
17 1999.9962 ********** **********
0.0000 1871.2640 1871.2640
18 1376.7811 1596.8644 2973.6455
0.0000 0.0000 0.0000
19********** 2000.0153 **********
reference pressures (Pa)
1 NaN
300398.1875 NaN
2 89297.9766
-200001.5312 NaN
3 NaN
302027.0625 NaN
4 98865.7656
NaN ***************
5***************
303536.5938***************
6 115234.0625
******************************
7***************
302388.4688***************
8 130930.2344
NaN -130930.2344
9 0.0000
298071.4062 141363.7188
10 141363.7188
0.0000 258637.0312
11 400000.7500
292860.2188 -131733.2500
12 268267.5000
200000.7656***************
13***************
284315.2812***************
14 282231.5938
NaN NaN
15 NaN
276049.7188 NaN
16 291177.7188
199999.2344***************
17***************
187126.3906***************
18 297364.5312
0.0000***************
19***************
I have compiled/linked CCM3.6 on Windows XP using CVFortran both in serial and SPMD mode.
In serial mode, the program runs perfectly.
In SPMD mode, the input file containing the data for the 'ncdata' variable is interpretted differently with some infinities being read for the pressure levels and consequently resulting in a mathematical singularity occuring. The data file is that which was included in the distribution, namely:
DEC1.T42.1098.nc
Can anyone explain the reason for this?
Thanks
Frank Peacock
London
PS: The output of the run:
Attached is the output for the run:
2 pes participating in computation
-----------------------------------
NODE# NAME
( 0) NUMBER-1
( 1) NUMBER-2
------------------------------------------------------------
------------------------------------------------------------
NCAR Community Climate Model (CCM3) $Name: ccm3_6_6 $ $Date: 1998/07/08 14:22:10 $/, Copyright (C) 1998
University Corporation for Atmospheric Research
All Rights Reserved
------------------------------------------------------------
(Note: Online documentation is available on the CCM3
home page: http://www.cgd.ucar.edu/cms/ccm3/ )
------------------------------------------------------------
DATE 11/13/04 TIME 08:33:54
------------------------------------------------------------
------------------------------------------
*** INPUT VARIABLES (CCMEXP) ***
------------------------------------------
Initial run
********** CASE = Forecast **********
User name to build pathnames = Frank
Initial dataset is: DEc1.T42.0198.nc
Time-variant boundary dataset (sst) is: sstfin.nc
Time-variant boundary dataset (ozone) is: ozn.0596.r8.nc
NO RESTART DATASET will be written
Restart flag (NSREST) 0=no,1=yes,3=branch 0
History files will NOT be disposed to Mass Store
Retention time for restart tapes = 0 Days
Virtual MS volume for restart data (NRMVN) CTPUBLIC
History File 1 write frequency (NHTFRQ) 72
History File 2 write frequency (NHTFRQ) 3
History File 3 write frequency (NHTFRQ) 1
Initial conditions history file
ccmi_yyyymmdd_sssss be written monthly and will be treated as aux file
2
Number of time samples per file (MFILT) for history file 1 is
2
Number of time samples per file (MFILT) for history file 2 is
25
Number of time samples per file (MFILT) for history file 3 is
1
Aux file 1 contains the following fields:
TS
RELHUM
U
V
PSL
Aux file 2 contains the following fields:
U
V
T
Q
PS
PHIS
SGH
ORO
TS1
TS2
TS3
TS4
SICTHK
SNOWH
Fields on history file 1 are instantaneous
Fields on history file 2 are instantaneous
Fields on history file 3 are instantaneous
Base date,seconds of date = 20030331 -9999
Elapsed time to end run (NELAPSE) 72
Time step in seconds (DTIME) 1200.
Time filter coefficient (EPS) 0.060
DEL2 Horizontal diffusion coefficient (DIF2) 0.250E+06
DEL4 Horizontal diffusion coefficient (DIF4) 0.100E+17
Number of levels Courant limiter applied 1
Lowest level for dry adiabatic adjust (NLVDRY) 3
Frequency of Shortwave Radiation calc. (IRADSW) 3
Frequency of Longwave Radiation calc. (IRADLW) 3
Frequency of Absorptivity/Emissivity calc. (IRADAE) 36
Frequency of SST Initialization calc. (ITSST) 1
SST dataset will be reused for each model year
OZONE dataset will be reused for each model year
Output files will be disposed ASYNCHRONOUSLY
divergence damper NOT invoked
global co2 volume mixing ratio = 3.5500000E-04
Visible optical depth (tauvis) = 0.1400000
Orbital parameters calculated for given year: 2004 AD
------------------------------------------
------------------------------------------------------------
Problem decomposes into 2** 6 * 3** 0 * 5** 0
procid 0 assigned 32 latitude values from 1
through 32
procid 1 assigned 32 latitude values from 33
through 64
-----------------------------------------
Number of lats passed north & south = 2
Node Partition Extended Partition
-----------------------------------------
0 1- 32 -1- 34
1 33- 64 31- 66
procid 0 assigned 13 m values from 1 through
13
procid 1 assigned 30 m values from 14 through
43
(GETFIL): attempting to find local file DEc1.T42.0198.nc
(GETFIL): using DEc1.T42.0198.nc in current working directory
INITAL: NCOPN returns id 3 for file DEc1.T42.0198.nc
Machine epsilon= 2.22E-16
1 Layer Locations (*1000)
1 NaN 0.0000 NaN
1349.8708 1654.1111 3003.9819
2 892.9798 0.0000 892.9798
0.0000 -2000.0153 -2000.0153
3 NaN 0.0000 NaN
1317.6117 1702.6591 3020.2708
4 988.6577 0.0000 988.6577
********** NaN NaN
5********** 0.0000 **********
1282.9692 1752.3969 3035.3660
6 1152.3407 0.0000 1152.3407
1999.9810 ********** **********
7********** 0.0000 **********
1244.6764 1779.2081 3023.8845
8 1309.3024 0.0000 1309.3024
********** NaN NaN
9 0.0000 0.0000 0.0000
1175.4672 1805.2471 2980.7144
10 1413.6372 0.0000 1413.6372
0.0000 0.0000 0.0000
11 2000.0000 2000.0076 4000.0076
1099.5868 1829.0153 2928.6023
12 1407.3961 1275.2791 2682.6750
2000.0076 0.0000 2000.0076
13 0.0000 ********** **********
994.3384 1848.8143 2843.1528
14 1399.2634 1423.0525 2822.3157
NaN 0.0000 NaN
15 NaN NaN NaN
897.2000 1863.2972 2760.4971
16 1389.1061 1522.6711 2911.7771
0.0000 1999.9924 1999.9924
17 1999.9962 ********** **********
0.0000 1871.2640 1871.2640
18 1376.7811 1596.8644 2973.6455
0.0000 0.0000 0.0000
19********** 2000.0153 **********
reference pressures (Pa)
1 NaN
300398.1875 NaN
2 89297.9766
-200001.5312 NaN
3 NaN
302027.0625 NaN
4 98865.7656
NaN ***************
5***************
303536.5938***************
6 115234.0625
******************************
7***************
302388.4688***************
8 130930.2344
NaN -130930.2344
9 0.0000
298071.4062 141363.7188
10 141363.7188
0.0000 258637.0312
11 400000.7500
292860.2188 -131733.2500
12 268267.5000
200000.7656***************
13***************
284315.2812***************
14 282231.5938
NaN NaN
15 NaN
276049.7188 NaN
16 291177.7188
199999.2344***************
17***************
187126.3906***************
18 297364.5312
0.0000***************
19***************