Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel2
include
outlinefalse
indent
exclude
typelist
class
printablefalse

...

There are mainly three approaches in preparing an environment on LANTA:

Users should select one over another. They should not be mixed, since library conflicts may occur.

...

Expand
title [Feb 2024] Current CPE toolchains

CPE toolchain

Note

cpeGNU/23.03

GCC 11.2.0

cpeCray/23.03

CCE 15.0.1

cpeIntel/23.03

Deprecated and hidden. It will be removed in the future.

cpeIntel/23.09

Intel Compiler 2023.1.0

...

Users can readily use ThaiSC modules and CPE toolchains to build their applications. Some popular application software are pre-installed as well, for more information, refer to Applications usage.

Code Block
languagebash
username@lanta-xname:~> module overview
------------------------------------- /lustrefs/disk/modules/easybuild/modules/all --------------------------------------
ADIOS2        (2)   FriBidi               (2)   MrBayes         (1)   Trimmomatic  (1)   hwloc         (1)
ATK           (2)   GATK                  (1)   NASM            (1)   UDUNITS2     (1)   intltool      (1)
Amber         (1)   GDAL                  (2)   NLopt           (2)   VASP         (3)   jbigkit       (2)
Apptainer     (1)   GEOS                  (2)   Nextflow        (2)   VCFtools     (1)   libGLU        (2)
Armadillo     (2)   GLM                   (2)   Ninja           (1)   WPS          (2)   libaec        (2)
AutoDock-vina (1)   GLib                  (2)   OSPRay          (2)   WRF          (1)   libdeflate    (2)
Autoconf      (1)   GMP                   (3)   OpenCASCADE     (2)   WRFchem      (1)   libdrm        (2)
Automake      (1)   GObject-Introspection (2)   OpenEXR         (2)   Wayland      (2)   libepoxy      (2)
Autotools     (1)   GROMACS               (2)   OpenFOAM        (2)   X11          (2)   libffi        (1)
BCFtools      (1)   GSL                   (3)   OpenJPEG        (2)   XZ           (3)   libgeotiff    (2)
BEDTools      (1)   Gaussian              (1)   OpenSSL         (1)   Xerces-C++   (1)   libglvnd      (2)
BLAST+        (1)   GenericIO             (2)   OpenTURNS       (2)   Yasm         (1)   libiconv      (2)
BLASTDB       (1)   Go                    (1)   PCRE            (1)   arpack-ng    (2)   libjpeg-turbo (3)
BWA           (1)   HDF-EOS               (2)   PCRE2           (1)   assimp       (1)   libpciaccess  (2)
BamTools      (1)   HDF                   (2)   PDAL            (1)   at-spi2-atk  (2)   libpng        (3)
Beast         (1)   HTSlib                (1)   PETSc           (2)   at-spi2-core (2)   libreadline   (2)
Bison         (1)   HYPRE                 (2)   PROJ            (2)   aws-ofi-nccl (1)   libtirpc      (2)
Blosc         (2)   HarfBuzz              (2)   Pango           (2)   beagle-lib   (1)   libtool       (1)
Boost         (4)   ICU                   (3)   ParMETIS        (2)   binutils     (1)   libunwind     (2)
Bowtie        (1)   Imath                 (2)   ParallelIO      (1)   bzip2        (3)   libxml2       (3)
Bowtie2       (1)   JasPer                (2)   Perl            (2)   cURL         (1)   lz4           (3)
Brotli        (2)   Java                  (2)   PostgreSQL      (2)   cairo        (2)   minimap2      (1)
C-Blosc2      (2)   KaHIP                 (2)   QuantumESPRESSO (2)   canu         (1)   nccl          (1)
CFITSIO       (2)   LAME                  (1)   RAxML-NG        (1)   cpeCray      (1)   ncurses       (2)
CGAL          (2)   LLVM                  (1)   SAMtools        (1)   cpeGNU       (1)   nlohmann_json (1)
CMake         (2)   LMDB                  (1)   SCOTCH          (2)   cpeIntel     (1)   numactl       (1)
CrayNVHPC     (1)   LibTIFF               (2)   SDL2            (2)   ecCodes      (2)   pixman        (1)
DB            (2)   M4                    (1)   SLEPc           (2)   expat        (2)   pkgconf       (1)
DBus          (1)   MAFFT                 (1)   SPAdes          (1)   flex         (1)   tbb           (1)
ESMF          (2)   METIS                 (2)   SQLite          (2)   fontconfig   (2)   termcap       (1)
EasyBuild     (1)   MPC                   (2)   SWIG            (3)   freetype     (2)   x264          (1)
Eigen         (1)   MPFR                  (2)   SZ              (2)   gettext      (1)   x265          (1)
FDS           (1)   MUMPS                 (2)   SpectrA         (1)   git-lfs      (1)   xorg-macros   (2)
FFmpeg        (2)   Mako                  (2)   SuiteSparse     (2)   googletest   (1)   xprop         (2)
FastQC        (1)   Mamba                 (1)   SuperLU_DIST    (2)   gperf        (1)   zfp           (2)
FortranGIS    (2)   Mesa                  (2)   Tcl             (2)   gperftools   (2)   zlib          (2)
FreeXL        (2)   Meson                 (2)   Tk              (2)   groff        (2)   zstd          (3)

...

Expand
titleExample: libjpeg-turbo/3.0.2-cpeCray-23.03
Code Block
languagebash
module purge
module load cpeCray/23.03
module load NASM/2.16.01
module load CMake/3.26.4

wget https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.2/libjpeg-turbo-3.0.2.tar.gz
tar xzf libjpeg-turbo-3.0.2.tar.gz
cd libjpeg-turbo-3.0.2
PARENT_DIR=$(pwd)
mkdir build ; cd build

export CC=cc CXX=CC FC=ftn F77=ftn F90=ftn
# or, for verbosity,
#export CC="cc -craype-verbose" CXX="CC -craype-verbose" FC="ftn -craype-verbose" F77="ftn -craype-verbose" F90="ftn -craype-verbose"

cmake -DCMAKE_INSTALL_PREFIX=${PARENT_DIR}/cpeCray-23.03 -G"Unix Makefiles" -DWITH_JPEG8=1 ..
make
make install

cd ${PARENT_DIR}/cpeCray-23.03
ln -s ./lib64 ./lib               # Optional, but recommended

2.3 Related topics

A separate page is dedicated for explaining how to use local modules on LANTA → Local module & EasyBuild.

...

...

3. Running the software

Every main application software must run on compute/gpu/memory nodes. The recommended approach is to write a job script and send it to Slurm scheduler through sbatch command.

...

Info

You can test your initial script on compute-devel or gpu-devel partitions, using #SBATCH -t 02:00:00, since they normally have a shorter queuing time.

...

Example

Installation guide

...