Skip to content

Commit 235a085

Browse files
committed
Setup VMEC2000
1 parent f59dbc7 commit 235a085

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

scripts/setup_scalapack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ ! -d "scalapack" ] ; then
66
pushd scalapack
77
cmake -S. -Bbuild
88
pushd build
9-
make
9+
make -j$(nproc)
1010
popd
1111
popd
1212
fi

scripts/setup_vmec2000.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
#!/bin/bash
3+
4+
if [ ! -d "VMEC2000" ] ; then
5+
echo "Fetching and building VMEC2000..."
6+
git clone https://github.com/hiddenSymmetries/VMEC2000.git
7+
pushd VMEC2000
8+
cmake -S. -Bbuild -GNinja -DNETCDF_INC_PATH=/usr/include -DSCALAPACK_PRE
9+
FIX=$CODE/external/scalapack/build
10+
pushd build
11+
ninja
12+
popd
13+
popd
14+
fi

0 commit comments

Comments
 (0)