Recent Changes

Sunday, February 25

  1. page VMEC edited ... VMEC Advanced Profiles VMEC PEST1 Coordinates Sign conventions in VMEC Hirshman, S.P. and…
    ...
    VMEC Advanced Profiles
    VMEC PEST1 Coordinates
    Sign conventions in VMEC
    Hirshman, S.P. and Whitson, J.C. "Steepest-descent moment method for three-dimensional magnetohydrodynamic equilibria." Phys. Fluids 26, 3353 (1983).
    Hirshman, S.P. and Whitson, J.C. "Optimized Fourier representations for three-dimensional magnetic surfaces." Phys. Fluids 28, 1387 (1985).
    (view changes)
    9:04 am

Wednesday, February 14

  1. page STELLOPT Compilation OSX edited ... sudo port install ncarg +gcc7 # The following is for Python support ... install python35 …
    ...
    sudo port install ncarg +gcc7
    # The following is for Python support
    ...
    install python35 +gcc7
    sudo port install py35-pyqt4 +gcc7
    sudo port install py35-matplotlib +dvipng +pyside +qt4 +gcc7

    # The following are needed for COILOPT++
    sudo port install silo +gcc7
    (view changes)
    8:56 am
  2. page STELLOPT Compilation OSX edited ... sudo port install scalapack +gcc7 +openmpi +openblas sudo port install ncarg +gcc7 # The fo…
    ...
    sudo port install scalapack +gcc7 +openmpi +openblas
    sudo port install ncarg +gcc7
    # The following is for Python support
    sudo port install python35
    sudo port install py35-pyqt4

    # The following are needed for COILOPT++
    sudo port install silo +gcc7
    (view changes)
    7:58 am
  3. page STELLOPT Compilation OSX edited ... # The following are needed for COILOPT++ sudo port install silo +gcc7 sudo port install gsl…
    ...
    # The following are needed for COILOPT++
    sudo port install silo +gcc7
    sudo port install gsl +gcc7 +optimize
    # The following are needed for GENE
    sudo port install fftw-3 +gcc7 +openmpi
    (view changes)
    5:16 am
  4. page STELLOPT Compilation OSX edited ... # The following are needed for GENE sudo port install fftw-3 +gcc7 +openmpi ... install pe…
    ...
    # The following are needed for GENE
    sudo port install fftw-3 +gcc7 +openmpi
    ...
    install petsc +complex +gcc7 +openmpi +openblas -accelerate +metis +mumps +parmetis +suitesparse +superlu_dist +complex
    sudo port install slepc +gcc7 +openmpi +openblas +arpack -accelerate
    Now the NCARG package broken as of this writing but there's a workaround. Download the tarball from the NCAR website the place the tarball in the appropriate location (see ticket #43615). Then rerun the port install command for ncarg.
    Now create a directory in which you wish to compile STELLOPT and place the STELLOPT ZIP file in that directory. Then unzip it.
    (view changes)
    4:52 am
  5. page STELLOPT Compilation OSX edited ... sudo port install OpenBLAS +gcc7 -gcc6 sudo port install scalapack +gcc7 +openmpi +openblas …
    ...
    sudo port install OpenBLAS +gcc7 -gcc6
    sudo port install scalapack +gcc7 +openmpi +openblas
    ...
    install ncarg +gcc7
    # The following are needed for COILOPT++
    sudo port install silo +gcc7
    # The following are needed for GENE
    sudo port install fftw-3 +gcc7 +openmpi
    ...
    install petsc +complex +gcc7 +openmpi
    sudo port install slepc +openmpi
    Now the NCARG package broken as of this writing but there's a workaround. Download the tarball from the NCAR website the place the tarball in the appropriate location (see ticket #43615). Then rerun the port install command for ncarg.
    (view changes)
    1:59 am

Tuesday, February 13

  1. page STELLOPT Compilation OSX edited ... sudo port install pgplot sudo port install OpenBLAS +gcc7 -gcc6 ... install scalapack +…
    ...
    sudo port install pgplot
    sudo port install OpenBLAS +gcc7 -gcc6
    ...
    install scalapack +gcc7 +openmpi +openblas
    sudo port install ncarg
    # The following are needed for COILOPT++
    (view changes)
    11:43 pm
  2. page STELLOPT Compilation OSX edited ... sudo port install gcc7 sudo port install openmpi sudo port install netcdf +gcc7 +openmpi …
    ...
    sudo port install gcc7
    sudo port install openmpi
    sudo port install netcdf +gcc7 +openmpi
    sudo port install hdf5 +fortran +gcc7 +hl +openmpi
    sudo port install netcdf +gcc7 +openmpi
    sudo port install netcdf-fortran +gcc7 +openmpi

    sudo port install pgplot
    sudo port install OpenBLAS +gcc7 -gcc6
    (view changes)
    11:41 pm
  3. page STELLOPT Compilation OSX edited ... Download and install MacPorts. Please note we're assuming you'll be using the default location…
    ...
    Download and install MacPorts. Please note we're assuming you'll be using the default location for installation of the various ports. If not you'll need to change the path to the variable MACPORTS in the setup script (and rezip).
    Use MacPorts to install your packages. For this example we're using gfortran 4.9 but you may substitute any other version. I've also chosen OpenMPI but the sources could also be built with MPICH.
    ...
    port install openmpi-gcc49 +fortrangcc7
    sudo port install openmpi

    sudo port install netcdf-fortrannetcdf +gcc7 +openmpi
    sudo port
    ...
    hdf5 +fortran +gcc49+gcc7 +hl +openmpi
    sudo port install pgplot
    ...
    install OpenBLAS +gcc7 -gcc6
    sudo port install scalapack +openmpi +openblas
    sudo port install ncarg
    # The following are needed for COILOPT++
    ...
    install silo +gcc49+gcc7
    # The following are needed for GENE
    ...
    install fftw-3 +gcc7 +openmpi
    sudo port install petsc +openmpi
    sudo port install slepc +openmpi
    (view changes)
    10:03 pm

Tuesday, January 16

  1. page STELLOPT Optimizer Comparison edited ... The Particle Swarm Algorithm In this section we evaluate the Particle Swarm Algorithm in STEL…
    ...
    The Particle Swarm Algorithm
    In this section we evaluate the Particle Swarm Algorithm in STELLOPT. We will use the following OPTIMUM name list for STELLOPT:
    &OPTIMUM
    !-----------------------------------------------------------------------
    ! OPTIMIZER RUN CONTROL PARAMETERS
    !-----------------------------------------------------------------------
    NFUNC_MAX = 25
    EQUIL_TYPE = 'VMEC2000'
    OPT_TYPE = 'PSO'
    FTOL = 1.0E-4
    XTOL = 1.0E-2
    FACTOR = 0.10
    EPSFCN = 0.5
    NPOPULATION = 16
    NOPTIMIZERS = 8
    LKEEP_MINS = T
    !-----------------------------------------------------------------------
    ! OPTIMIZED QUANTITIES
    !-----------------------------------------------------------------------
    LBOUND_OPT(0,0) = T RBC_MIN(0,0)=2.0 RBC_MAX(0,0)=20.0
    RHO_EXP = 4
    !-----------------------------------------------------------------------
    ! PLASMA PROPERTIES
    !-----------------------------------------------------------------------
    TARGET_R0 = 10.0 SIGMA_R0 = 1.0
    /
    As for the Genetic Algorithm with Differential Evolution, bounding values on the variables are required. Our choice of parameters includes FACTOR, which defines the maximum step size of any particle in terms of the bounding space. In this case no particle can make a larger step than 10% the space. Here the bounds are 2 and 20 so no particle may make a step larger than 1.8 in RBC(0,0). The value of EPSFCN controls how large a step to take in the direction toward each particles local minimum. This value is relative to one for the step in the global minimum direction. If the value is set greater than one, each particle prefers to step towards its local minimum. For values of EPSFCN less than one the particles will step toward the global maximum. However care should be taken, the real formula used is:
    x(new) = x(old) + C*[x(global)-x(old)] + C*EPSFCN*[x(local)-x(old)]
    where x(old) is the current x-vector, x(global) is the global best x-vector, x(local) is the local best x-vector, and C is a random number from 0 to 1.

    (view changes)
    8:00 am

More