[MITgcm-devel] problems with sp4 opt file
Martin Losch
mlosch at awi-bremerhaven.de
Thu Nov 17 03:24:21 EST 2005
Hallo Ed,
I tried to adopt the sp4+mpi optfile to work on our IBM and I ran into
the problem that almost all test for system libraries fail:
> === Checking system libraries ===
> Do we have the system() command using mpxlf95_r -q64... yes
> Do we have the fdate() command using mpxlf95_r -q64... no
> Do we have the etime() command using mpxlf95_r -q64... no
> Can we call simple C routines (here, "cloc()") using mpxlf95_r
> -q64... no
> Can we unlimit the stack size using mpxlf95_r -q64... no
> Can we use stat() through C calls... no
> Can we create NetCDF-enabled binaries... yes
The first three are fine and correct (they do not try to run the
executable), but the next three fail because of the followingvi error
(when they are run after successful compilation):
ERROR: 0031-808 Hostfile or pool must be used to request nodes
because apparently an exectuable generated with mpxlf95 requires to be
run in an mpi environment, which is not done within genmake2. the
netcdf test passes, because the executable is not run (as in the case
for the first three test).
So there is an inconsistency there, isn't it? Some of the test require
running the test-executable (test for cloc, unlimit stack size, and
stat) and some don't (netcdf, system, fdate, etime). Regardless of how
important or unimportant the passing of any of the tests is, the
testing procedure itself fails if one compiles with MPI. Is it really
necessary to try to run the executables? Or is it enough to check
whether the compilation and link-step is successful (as in the case of
netcdf)?
Martin
More information about the MITgcm-devel
mailing list