Hi,
Is there anyway to simply tell the program to not write the NetCDF files in parallel?
simple answer : no
some more details...
libpnetcdf-dev : not usable because it's another paradigm
ubuntu packages : libnetcdf-dev + libnetcdff-dev + libhdf5-openmpi-dev + libhdf5-mpi-dev : don't work
ubuntu didn't really compile the parallel support
root@yambo3:~/Workspace/trunk_release-8.10# nc-config --all
This netCDF 4.6.0 has been built with the following features:
--cc -> /usr/bin/cc
--cflags -> -I/usr/include -I/usr/include/hdf5/serial
--libs -> -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf -lhdf5_hl -lhdf5 -lpthread -lsz -lz -ldl -lm -lcurl
--has-c++ -> no
--cxx ->
--has-c++4 -> no
--cxx4 ->
--has-fortran-> yes
--fc -> gfortran
--fflags -> -I/usr/include
--flibs -> -L/usr/lib -lnetcdff -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -lnetcdf -lnetcdf
--has-f90 -> no
--has-f03 -> yes
--has-dap -> yes
--has-dap2 -> yes
--has-dap4 -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--has-hdf5 -> yes
--has-hdf4 -> no
--has-logging-> no
--has-pnetcdf-> no
--has-szlib -> no
--has-cdf5 -> no
--has-parallel-> no
--prefix -> /usr
--includedir-> /usr/include
--libdir -> /usr/lib/x86_64-linux-gnu
--version -> netCDF 4.6.0
only the "config 4" in my previous post works ( compilation of hdf5_paral + netcdf-4.6+ netcdf-fortran )
root@yambo3:/usr/local/hdf5-1.10.4_gcc73_paral/bin# /usr/local/netcdf-4.6.2_gcc73_openmpi/bin/nc-config --all
This netCDF 4.6.2 has been built with the following features:
--cc -> mpicc
--cflags -> -I/usr/local/netcdf-4.6.2_gcc73_openmpi/include -I/usr/local/hdf5-1.10.4_gcc73_paral/include
--libs -> -L/usr/local/netcdf-4.6.2_gcc73_openmpi/lib -L/usr/local/hdf5-1.10.4_gcc73_paral/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -ldl -lz
--has-c++ -> no
--cxx ->
--has-c++4 -> no
--cxx4 ->
--has-fortran -> yes
--fc -> gfortran
--fflags -> -I/usr/include
--flibs -> -L/usr/lib -lnetcdff -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -lnetcdf -lnetcdf
--has-f90 -> no
--has-f03 -> yes
--has-dap -> no
--has-dap2 -> no
--has-dap4 -> no
--has-nc2 -> yes
--has-nc4 -> yes
--has-hdf5 -> yes
--has-hdf4 -> no
--has-logging -> no
--has-pnetcdf -> no
--has-szlib -> no
--has-cdf5 -> yes
--has-parallel4 -> yes
--has-parallel -> yes
--prefix -> /usr/local/netcdf-4.6.2_gcc73_openmpi
--includedir -> /usr/local/netcdf-4.6.2_gcc73_openmpi/include
--libdir -> /usr/local/netcdf-4.6.2_gcc73_openmpi/lib
--version -> netCDF 4.6.2
I removed all installed packages by default (openmpi, hdf5, netcdf, ...) and I recompiled everything (MPICH3 + HDF5 + NetCDF + NetCDF-fortran ...) and then, everything works ...
Code: Select all
./runtests.py paral mpiio -n 4 -j 2 --no-logo
...
Suite failed passed succeeded skipped disabled run_etime tot_etime
paral 0 9 30 77 0 797.29 805.70
...
Suite failed passed succeeded skipped disabled run_etime tot_etime
mpiio 0 2 12 4 0 262.67 282.94
The standard packages of ubuntu are not made for the "simulation" nor to make the HPC !!
if you need recipes to compile the different packages (HDF5, NetCDF, NetCDF-fortran, ...), I provide them
A+
jmb