#!/bin/bash -l

# Standard output and error:
##SBATCH -o ./sfincsJob.out.%j
##SBATCH -e ./sfincsJob.err.%j
# Initial working directory:
#SBATCH -D ./
# Job Name:
#SBATCH -J regcoil_pm

# Queue (Partition):
#SBATCH --partition=express

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=32
# for OpenMP:
##SBATCH --cpus-per-task=32

#export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
## For pinning threads correctly:
#export OMP_PLACES=cores

# Wall clock limit:
#SBATCH --time=00:30:00

module load hdf5-serial netcdf-serial

#srun      /u/mlan/stellopt/bin/xstelloptv2 input.order_r_squared_edited
#srun      /u/mlan/stellopt/bin/xvmec2000 input.nfp2_QA_optimized_finiteRNonlinear_a0.003125_nphi201_ntheta40_mpol12_ntor12_ns101_pr1e-15_ftol2e-17
srun      /u/mlan/stellopt_github/develop/STELLOPT/bin/xvmec2000 input.free_boundary_from_regcoil_pm
#srun      /u/mlan/quasisymmetry/quasisymmetry quasisymmetry_in.order_r_squared
#srun      /u/mlan/regcoil_pm/regcoil regcoil_in.NCSX
