Skip to content

HOWTO enable "long int" (for large simulations)

Andrea Lani edited this page Feb 25, 2016 · 1 revision

The following indications must be followed only in case you want to run large simulations involving integers potentially bigger than 2,147,483,647 on 64 bit architectures.


The first step is to make sure to compile PETSc with the option --with-64-bit-indices enabled. In case you want to install it with tools/scripts/install-coolfluid-deps.pl, then you must run:

./install-coolfluid-deps.pl --install=petsc --install-mpi-dir=$MPI_DIR --tmp-dir=$TMP_DIR --install-petsc-dir=$PETSC_DIR_LONG --int64=1

after having chosen actual paths for $MPI_DIR, $TMP_DIR, $PETSC_DIR_LONG.


The second step consists in setting the following options inside your coolfluid.conf:

with_longint = 1 (for PETSc version >= 3.6.3)

or

with_llongint = 1 (for PETSc version < 3.6.3)

petsc_dir = $PETSC_DIR_LONG

where the actual full path to the PETSc installation directory must be provided instead of $PETSC_DIR_LONG.


For the rest, you can check here for standard configuration and compilation instructions.

Contacts

Home

Gallery

HOWTO

2019 NASA Ames presentation

2014 NASA Ames presentation


parallel computations of complex problems

Parallel mesh decomposition


Scalability in large scale simulation

High-performance computing (strong scaling on NASA Pleiades for 1/2 billion-cells 3D grid)


Modeling of high-speed reacting flows and plasma

Chemically reacting flows and plasma


Numerical Schlieren of turbulent flow on wing computed with RDS-LES

Complex all-speed flow simulations

Clone this wiki locally