In all cases, make sure MPICompC points to MPI compiler wrappers (this is the case in one of your setups, not in the other).
Hi, you're right. I used the OpenMPI in this case.
I compiled the Saturne and its deps with the mpicc.
I installed the 2.0.5 and latest version too.
I'll try with the Intel MPI, now.
Thanks.
Obs.: I can't attach the file (
The extension is not allowed).
My setup file:
Code: Select all
#========================================================
# Setup file for Code_Saturne installation
#========================================================
#
#--------------------------------------------------------
# Download packages
#--------------------------------------------------------
download yes
#
#--------------------------------------------------------
# Language
# default: "en" english
# others: "fr" french
#--------------------------------------------------------
language en
#
#--------------------------------------------------------
# Install Code_Saturne with debugging symbols
#--------------------------------------------------------
debug no
#
#--------------------------------------------------------
# Installation directory
#--------------------------------------------------------
prefix /usr/local/saturne/saturne-2.0.5/mpi/openmpi
#
#--------------------------------------------------------
# Architecture Name
#--------------------------------------------------------
use_arch no
arch
#
#--------------------------------------------------------
# C compiler
#--------------------------------------------------------
compC mpicc
#
#--------------------------------------------------------
# Fortran compiler
#--------------------------------------------------------
compF mpif90
#
#--------------------------------------------------------
# MPI wrapper for C compiler
#--------------------------------------------------------
mpiCompC mpicc
#
#--------------------------------------------------------
# Disable Graphical user Interface
#--------------------------------------------------------
disable_gui no
#
#--------------------------------------------------------
# Python is mandatory to launch the Graphical User
# Interface and to use Code_Saturne scripts.
# It has to be compiled with PyQt 4 support.
#
# It is highly recommended to use the Python provided
# by the distribution and to install PyQt through
# the package manager if needed.
#
# If you need to provide your own Python, just set
# the following variable to the bin directory of Python
#--------------------------------------------------------
python
#
#--------------------------------------------------------
# BLAS For hardware-optimized Basic Linear Algebra
# Subroutines. If no system BLAS is used, one reverts
# to an internal BLAS emulation, which may be somewhat
# slower.
#
# ATLAS (or another BLAS) should be available for most
# platforms through the package manager. If using the
# Intel or IBM compilers, IMKL or ESSL may be used in
# place of ATLAS respectively.
# For a fine-tuning of BLAS library support, it may
# be necessary to install Code_Saturne Kernel manually.
#--------------------------------------------------------
blas
#
#--------------------------------------------------------
# Metis is more rarely found in Linux distributions,
# but may already be installed on massively parallel
# machines and on clusters. For good parallel
# performance, it is highly recommended.
# For meshes larger than 15 million cells, Metis 5.0
# beta is recommended, as Metis 4 may fail above
# the 20-35 million cells.
#
# Scotch can be use as an alternative.
#
# If both are present, Metis will be the default.
# If none are present, a space-filling-curve algorithm
# will be used.
#--------------------------------------------------------
metis /usr/local/metis/metis-5.1.0
scotch
#
#--------------------------------------------------------
# SYRTHES installation path for an optional coupling.
#
# Only coupling with the SYRTHES thermal code version 3
# is handled at the moment.
#
# SYRTHES has to be installed before Code_Saturne for
# a correct detection. However, it is still possible to
# update the scripts after Code_Saturne installation.
#--------------------------------------------------------
syrthes
#
#========================================================
# Name Path Use Install
#========================================================
#
#--------------------------------------------------------
# Code_Saturne kernel and module libraries
#--------------------------------------------------------
#
bft /usr/local/saturne/saturne-2.0.5/mpi/openmpi/cs-2.0 yes no
fvm /usr/local/saturne/saturne-2.0.5/mpi/openmpi/cs-2.0 yes no
mei /usr/local/saturne/saturne-2.0.5/mpi/openmpi/cs-2.0 yes no
ecs /usr/local/saturne/saturne-2.0.5/mpi/openmpi/cs-2.0 yes no
ncs /usr/local/saturne/saturne-2.0.5/mpi/openmpi/cs-2.0 yes no
#
#--------------------------------------------------------
# Optional packages:
# ------------------
#
# MED / HDF5 For MED file format support
# (used by SALOME and now by Gmsh)
#
# CGNS For CGNS file support
# (used by many meshers)
#
# Open MPI (or MPICH2)
#
# For Linux workstations, MPI, HDF5, and even MED
# packages may be available through the package manager.
# HDF5 is also often available on large systems such as
# IBM Blue Gene or Cray XT.
#
# For massively parallel architectures, it is
# recommended to use the system's default MPI library.
#
# Libxml2 is needed to read xml files output by the
# Graphical User Interface, and swig is needed by the
# Graphical User Interface to handle mathematical
# expressions. Both should be installed by you package
# manager.
#--------------------------------------------------------
#
cgns /usr/local/cgnslib/cgnslib-3.1.3-4/mpi/openmpi yes no
hdf5 /usr/local/hdf5/hdf5-1.8.12/mpi/openmpi yes no
med /usr/local/med/med-3.0.7/mpi/openmpi yes no
mpi /home_nfs/local/mpi/openmpi-1.6.5 yes no
libxml2 None auto no
swig None auto no
#
#========================================================