Giter VIP home page Giter VIP logo

kth_examples's People

Contributors

adampep avatar danielemassaro avatar pschlatt1 avatar salrm8 avatar timofeymukha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kth_examples's Issues

Installation

Hi,

II am trying to compile the cylinder example, and I am facing the error:

/usr/bin/ld: cannot find -lparpack_MPI-gcc_rst
/usr/bin/ld: cannot find -larpack_gcc_rst

What is the recommended form of installation for PARPACK?

PSTAT example incomplete

The runtime parameters for PSTAT module are unused in the .par file.

! register parameters
call rprm_rp_reg(pstat_crd_fnr_id,pstat_sec_id,'CRD_FNUM',
$ 'CRD file number',rpar_int,1,0.0,.false.,' ')
call rprm_rp_reg(pstat_amr_irnr_id,pstat_sec_id,'AMR_NREF',
$ 'Nr. of initial refinemnt (AMR only)',rpar_int,1,0.0,.false.,' ')
call rprm_rp_reg(pstat_nfile_id,pstat_sec_id,'STS_NFILE',
$ 'Number of stat files',rpar_int,1,0.0,.false.,' ')
call rprm_rp_reg(pstat_stime_id,pstat_sec_id,'STS_STIME',
$ 'Statistics starting time',rpar_real,1,0.0,.false.,' ')
call rprm_rp_reg(pstat_nstep_id,pstat_sec_id,'STS_NSTEP',
$ 'Number of steps between averaging (in sts file)',
$ rpar_int,10,0.0,.false.,' ')

DNS_ext_cyl

Dear nek5000-developers:
Thanks for attentions. I want to run this example for comNS , could you help me to modify file/parameter.
Best wish to you,
Sincerely,
lixinjun

Warnings while restarting

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.