# STELLOPT

State-of-the-art stellarator optimization code

# STELLOPT Compilation at the PPPL cluster

This page details how to compile the STELLOPT family of codes at the PPPL cluster. The proper modules need to be loaded then compilation can begin. Please note that if you require additional module to be loaded you should do this before loading the compiler. This will prevent the \$PATH variable from searching the wrong directories.

### GENERAL Instructions

On the PPPL cluster, STELLOPT is now maintained as an installed module. Use the following command to load stellopt

module load stellopt


To load the most current version of the code. This will load all the necessary modules. The /bin/ directory will be added to your path variable as well so codes can be called without specifying the full path. Such as:

mpirun -np 64 xstelloptv2 input.test


There are more avaliable versions. To list all the available versions, you can do the following

module avail stellopt


To check the details of each version, you can use module what-is stellopt or module show stellopt.

### GNU

Load the appropriate module files for the GNU compiler.

     module load gcc/8.1.0


### Intel

Load the appropriate module files for the Intel compiler.

   module load intel

The PPPL cluster should be automatically detected otherwise please set MACHINE=pppl_gcc to properly compile the code.