Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings while restarting #2

Closed
ashwinvis opened this issue Jul 10, 2020 · 3 comments
Closed

Warnings while restarting #2

ashwinvis opened this issue Jul 10, 2020 · 3 comments

Comments

@ashwinvis
Copy link

ashwinvis commented Jul 10, 2020

I noticed these warnings on Tetralith about NSPCAL and LDIMT. I was able to reproduce them with the phill example. Do you know what could be wrong?

          0  U-PRES gmres       8   9.8780E-05   1.0957E-03   1.0000E-04   2.6286E-02   6.0981E-02
          1  volflow X              1.7594E+00   4.2479E-03   9.1533E+00   9.1575E+00
          1  Fluid done  1.8000E-03  9.8721E-01
filt amp 0.0000 0.0000 0.4965 0.4986 0.5000 0.5011
filt trn 1.0000 1.0000 0.5035 0.5014 0.5000 0.4989
WARNING: restart file has a NSPCAL > LDIMT
read only part of the fld-data!
WARNING: NPSCAL read from restart file differs from 
currently used NPSCAL!
       FILE:
 rs6phill0.f00002                                                               
                                                      
  [MSTEP] Checkpoint read:
Step      2, t= 2.0000000E-03, DT= 2.0000000E-04, C=  0.015 1.0502E+00 1.0502E+00
             Solving for fluid
          2  Hmholtz VELX       8   8.0729E-10   2.7106E+01   1.0000E-08
          2  Hmholtz VELY       8   8.9924E-10   2.7403E+01   1.0000E-08
          2  Hmholtz VELZ       5   2.2508E-09   4.1483E-02   1.0000E-08
          2  U-PRES gmres     100   2.9601E-08   3.8750E-02   1.0000E-08   3.3662E-01   8.0159E-01
          2  Hmholtz VELX       6   2.1799E-09   9.9984E-01   1.0000E-08
          0  U-PRES gmres       5   8.8215E-05   7.5867E-04   1.0000E-04   1.7195E-02   3.8596E-02
          2  volflow X              2.5288E+00   4.0895E-03   9.1534E+00   9.1575E+00
          2  Fluid done  2.0000E-03  9.4041E-01
WARNING: restart file has a NSPCAL > LDIMT
read only part of the fld-data!
WARNING: NPSCAL read from restart file differs from 
currently used NPSCAL!
       FILE:
 rs6phill0.f00003                                                               
                                                      
  [MSTEP] Checkpoint read:
Step      3, t= 2.2000000E-03, DT= 2.0000000E-04, C=  0.015 2.0295E+00 9.7930E-01
             Solving for fluid

Note that I am on Nek5000 v17 and 1cdcac1 of this repo. The only changes I made were

[x_ashmo@n42 phill_STAT]$ git diff
diff --git a/phill_STAT/compile_script b/phill_STAT/compile_script
index dddc9f1..863491e 100755
--- a/phill_STAT/compile_script
+++ b/phill_STAT/compile_script
@@ -14,9 +14,9 @@ function error_quit {
 
 #parameters
 export CASE="phill"
-export SOURCE_ROOT="../../Nek5000"
-export FC="mpifort"
-export CC="mpicc"
+# export SOURCE_ROOT="../../Nek5000"
+export FC="mpiifort"
+export CC="mpiicc"
 export PPLIST=""
 export USR="frame.o mntrlog_block.o mntrlog.o mntrtmr_block.o mntrtmr.o rprm_block.o rprm.o io_tools_block.o io_tools.o"
 USR+=" chkpoint.o chkpt_mstp.o map2D.o stat.o stat_IO.o math_tools.o"
diff --git a/phill_STAT/phill.par b/phill_STAT/phill.par
index 2b2c19a..1bb2aa6 100644
--- a/phill_STAT/phill.par
+++ b/phill_STAT/phill.par
@@ -4,7 +4,7 @@
 [GENERAL] 
 stopAt = numSteps #endTime
 #endTime = 30.0
-numSteps = 1003
+numSteps = 10
 
 dt = -2.0e-04
 timeStepper = bdf3 #char #steady
@@ -44,7 +44,7 @@ LOGLEVEL             = 4                      # Logging threshold for toolboxes
 WALLTIME             = 23:45                  # Simulation wall time
 #
 [_CHKPOINT]             # Runtime paramere section for checkpoint module
-READCHKPT            = no                     # Restat from checkpoint
+READCHKPT            = yes                     # Restat from checkpoint
 CHKPFNUMBER          = 1                      # Restart file number
 CHKPINTERVAL         = 250                    # Checkpiont saving frequency (number of time steps)
 #

Loaded modules:


Currently Loaded Modules:
  1) Python/3.7.0-anaconda-5.3.0-extras-nsc1       9) impi/.2018.1.163                 (H)
  2) EasyBuild/3.8.1-nsca344df6                   10) imkl/.2018.1.163                 (H)
  3) nsc-eb-scripts/1.0                           11) intel/2018a
  4) buildtool-easybuild/3.8.1-nsca344df6         12) git/2.19.3-nsc1-gcc-system
  5) GCCcore/6.4.0                                13) nodejs/12.15.0-nsc1-gcc-2019a-eb
  6) binutils/.2.28                          (H)  14) mpprun/4.1.2
  7) icc/.2018.1.163-GCC-6.4.0-2.28          (H)  15) nsc/.1.1                         (H,S)
  8) ifort/.2018.1.163-GCC-6.4.0-2.28        (H)
@adampep
Copy link
Collaborator

adampep commented Aug 11, 2020

Hi;
This warning means nek5000 found inconsistency between SIZE file and restart files. However, there is nothing wrong with the restart, as the warning concerns passive scalars and the framework restart doesn't care about them. The problem could appear if you would try to force the restart to save passive scalars.
The other issue is the version of framework you are using. It doesn't seem to be the current one. Please upgrade the code and use consistently the framework and the nek versions. Mixing is not guaranteed to work.

@ashwinvis
Copy link
Author

Got it. I recently upgraded to the latest framework and Nek versionsm, and will check if this happens again.

@ashwinvis
Copy link
Author

Closing as it does not happen any longer...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants