Julien Dehos d763370999 first commit | 7 anni fa | |
---|---|---|
modules | 7 anni fa | |
.gitignore | 7 anni fa | |
Makefile | 7 anni fa | |
README.md | 7 anni fa | |
oar.sh | 7 anni fa | |
test.cpp | 7 anni fa |
utiliser armadillo sur calculco :
ml purge
# installer armadillo en local
mkdir -p ~/tmp
cd ~/tmp
wget https://downloads.sourceforge.net/project/arma/armadillo-7.960.1.tar.xz
tar xf armadillo-7.960.1.tar.xz
cd armadillo-7.960.1/
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/opt/armadillo -DDETECT_HDF5=ON ..
make -j16 install
# installer le module
cd ~/tmp
git clone https://gogs.univ-littoral.fr/jdehos/test_armadillo
cd test_armadillo
cp -R modules ~/opt/armadillo/
# tester un code armadillo (sur la frontale)
module use ~/opt/armadillo/modules
module load armadillo
cd ~/tmp/test_armadillo
make
./test.out
# lancer un code armadillo sur un noeud
cd ~/tmp/test_armadillo
make
oarsub -S ./oar.sh