Skip to content

Instantly share code, notes, and snippets.

@ax3l
Last active Dec 7, 2016
Embed
What would you like to do?
adios_quickcompile
export ZLIB_ROOT=/usr
wget http://users.nccs.gov/~pnorbert/adios-1.10.0.tar.gz
tar -xvzf adios-1.10.0.tar.gz
cd adios-1.10.0
LDFLAGS="-fPIC -pthread" CFLAGS="-fPIC -g -O2" CXXFLAGS="-fPIC -g -O2" \
./configure --prefix=$HOME/lib/adios-1.10.0 \
--with-zlib=$ZLIB_ROOT --with-mpi=$MPI_ROOT \
--enable-static --enable-shared \
--without-dataspaces --disable-fortran
# hardware:
# --with-infiniband=/opt/pkg/infiniband/libibverbs/1.1.4/lib
# --with-lustre=DIR Location of lustre library
#
# transports:
# --with-phdf5=DIR
# --with-hdf5=DIR
# --with-netcdf=DIR
# --with-szip/bzip2
# --with-dimes=DIR
# --with-dataspaces=DIR
# --with-bgq Whether to enable BGQ method or not
# ...
#
make -j
make install
cd ..
### Debian / Ubuntu incl. bp2h5 tools
CFLAGS="-fPIC -g" C_INCLUDE_PATH="/usr/include/hdf5/serial" \
LDFLAGS="-pthread -L/usr/lib/x86_64-linux-gnu/hdf5/serial/" \
./configure --enable-static --enable-shared --prefix=$HOME/lib/adios-master \
--with-mxml=$MXML_ROOT --with-mpi=$MPI_ROOT --with-zlib=/usr
--with-hdf5=/usr/include/hdf5/serial
make -j2 && make && make install
export ADIOS_ROOT=$HOME/lib/adios-master/
export LD_LIBRARY_PATH=$ADIOS_ROOT/lib:$LD_LIBRARY_PATH
export PATH=$ADIOS_ROOT/bin:$PATH
### Python numpy bindings
cd wrappers/numpy/
CFLAGS="-g" CXXFLAGS="-g" python setup.py install --user
@psychocoderHPC

This comment has been minimized.

Copy link

@psychocoderHPC psychocoderHPC commented Jun 8, 2016

For PIConGPU we can add the flag --disable-fortran to the adios configure, this reduce the compile time and dependencies.

@ax3l

This comment has been minimized.

Copy link
Owner Author

@ax3l ax3l commented Aug 29, 2016

added! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment