User Tools

Site Tools


playground:gadgetwalkthrough

This is an old revision of the document!


Gadget Compilation Walkthrough

This page describes how to compile your own Gadget and libraries at CHPC. Before doing anything it is recommended that you create an installation directory (e.g installations) on your /export/home/username/ directory. This will help you avoid any super user conflicts. For the rest of this walkthrough I will refer to /export/home/username/installations/ as PATHINSTALL.

  • First, add these lines in your startup file .profile:
    . /etc/profile.d/modules.sh
    module load sunstudio
    module load clustertools 

These lines will help you to load openmpi and other tools that are required to compile and run Gadget.

  • Compile GSL by following the following steps:
    • ./configure –prefix=/PATHINSTALL
    • make
    • make install
  • Compile FFTW-2.1.5 by following these steps:
    • ./configure –prefix=/PATHINSTALL
    • make
    • make install

Note that only FFTW-2.xx can be used because version 3.xx does not work with Gadget2.

/app/dokuwiki/data/attic/playground/gadgetwalkthrough.1359116677.txt.gz · Last modified: 2021/12/09 16:42 (external edit)