root
/root
et installation dans /opt
cd /root wget -m -nd http://launchpad.net/bigdft/master/1.7-dev.28/+download/bigdft-1.7-dev.28.tar.bz2
cd /opt tar jxf /root/bigdft-1.7-dev.28.tar.bz2
[ -h bigdft ] && rm bigdft
ln -s bigdft-1.7-dev.28 bigdft
cd bigdft-1.7-dev.28
export BIGDFTROOT=$(pwd)
cd $BIGDFTROOT make distclean ./configure --disable-mpi make
# Renommage des exécutables cd $BIGDFTROOT find src -executable ! -name "*.cuda" ! -name "*.opencl" ! -name "*.openmpi" ! -name "*.serial" ! -name bigdft-tool ! -name NEB_driver.sh ! -type d -exec mv {} {}.serial \;
# Changement des droits cd $BIGDFTROOT chown -R root.root .
Installation préliminaire
sudo apt-get install openmpi-dev
Préparation de la compilation et compilation
cd $BIGDFTROOT make distclean ./configure 'FC=mpif90.openmpi' 'FCFLAGS=-fbounds-check -O2 -Wall' 'F77=mpif77.openmpi' make
# Renommage des exécutables cd $BIGDFTROOT find src -executable ! -name "*.cuda" ! -name "*.opencl" ! -name "*.openmpi" ! -name "*.serial" ! -name bigdft-tool ! -name NEB_driver.sh ! -type d -exec mv {} {}.openmpi \;
sudo apt-get install libtool
Préparation de la compilation et compilation
cd $BIGDFTROOT make clean ./configure FC=gfortran FCFLAGS="-fbounds-check -O2 -Wall" --disable-mpi --enable-cuda-gpu --with-cuda-path=/opt/cuda make
# Renommage des exécutables cd $BIGDFTROOT find src -executable ! -name "*.cuda" ! -name "*.opencl" ! -name "*.openmpi" ! -name "*.serial" ! -name bigdft-tool ! -name NEB_driver.sh ! -type d -exec mv {} {}.cuda \;
Préparation de la compilation et compilation
cd $BIGDFTROOT make clean ./configure FC=gfortran CFLAGS="-I/opt/cuda/include/" FCFLAGS="-fbounds-check -O2 -Wall" --disable-mpi --enable-opencl make
# Renommage des exécutables cd $BIGDFTROOT find src -executable ! -name "*.cuda" ! -name "*.opencl" ! -name "*.openmpi" ! -name "*.serial" ! -name bigdft-tool ! -name NEB_driver.sh ! -type d -exec mv {} {}.opencl \;