Julien Dehos d763370999 first commit | 7 lat temu | |
---|---|---|
modules | 7 lat temu | |
.gitignore | 7 lat temu | |
Makefile | 7 lat temu | |
README.md | 7 lat temu | |
oar.sh | 7 lat temu | |
test.cpp | 7 lat temu |
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