Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing Elmer

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the Elmer installation package:
    tar -xvf elmerfem-scc20.tar.gz
  3. Run the following command to switch to the directory generated after decompression:
    cd elmerfem-scc20
  4. Run the following commands to create a folder:
    mkdir build
    cd build
  5. Run the following command to perform compilation:
    cmake -DCMAKE_INSTALL_PREFIX=/path/to/ELMER -DCMAKE_C_FLAGS="-O3 -march=armv8.2-a -mtune=tsv110" -DCMAKE_CXX_FLAGS="-O3 -march=armv8.2-a -mtune=tsv110" -DCMAKE_Fortran_FLAGS="-O3 -march=armv8.2-a -mtune=tsv110" ../
  6. Run the following commands to perform installation:
    make -j 32
    make install
  7. Run the following commands to set the environment variables:
    export PATH=/path/to/ELMER/bin:$PATH
    export ELMER_HOME=/path/to/ELMER