Page MenuHomePhabricator

Nek5000
Updated 1,293 Days AgoPublic

Master Branch

git clone https://github.com/Nek5000/Nek5000.git -b master
export PATH=$HOME/Nek5000/bin:$PATH
cd ~/Nek5000/tools
#modify maketools file so all tools compile.
sed -i s/#BIGMEM=\"true\"/BIGMEM=\"true\"/g  ./maketools
./maketools genmap
cd ~/Nek5000/run; cp -r ~/Nek5000/short_tests/ethier .

v19

module load cmake/gcc-4.8.5/3.20.2
module load openmpi-3.1.2/gcc

cd ~/
mv Nek5000 Nek5000.old
wget https://github.com/Nek5000/Nek5000/releases/download/v19.0/Nek5000-19.0.tar.gz
tar xvfz Nek5000-19.0.tar.gz 
cd Nek5000/tools
./maketools all #Some will fail, those tools are for 3rd party formats
export PATH=~/Nek5000/bin:$PATH
cd ~/Nek5000/examples/eddy_uv #Test an example
genmap #eddy_uv
makenek eddy_uv
nekmpi eddy_uv 4

Ubuntu 18.04, v17

cd ~/
wget https://github.com/Nek5000/Nek5000/releases/download/v17.0/Nek5000-v17.0.tar.gz
tar xvfz Nek5000-v17.0.tar.gz 
cd Nek5000/
sudo apt install make cmake build-essential \
                 gfortran openmpi-bin libx11-dev libxt-dev

cd tools 
./maketools all
Last Author
newellz2
Last Edited
May 7 2021, 10:56 AM