Skip to content

lang-m/oommf-in-spack

 
 

Repository files navigation

oommf-in-spack

Support repository for getting the OOMMF package into Spack.

Status

Compile OOMMF in Debian (without spack):

debian-compile-oommf-natively

Compile OOMMF on (Debian) Linux with spack:

debian-spack-develop debian-spack-v0.16.2

Compile OOMMF on OSX with Spack:

osx-spack-v0.16.2-plus-epsilon osx-spack-develop

Required commands

Compilation of OOMMF

At the moment, this is under development, and we need two lines:

  • get spack: git clone https://github.com/fangohr/spack
  • checkout the right branch: git checkout add-oommf

Then activate spack:

  • source spack/share/spack/setup-env.sh

The compile oommf (this could take some time)

  • spack install oommf

Ideally, there are no errors.

Additional tests

We can run some additional checks with these commands:

  • spack test run --alias oommftest oommf

To see the results, use

  • spack test results -l oommftest

To use OOMMF after installation

  1. Activate spack:
  • source spack/share/spack/setup-env.sh
  1. Load oommf
  • spack load oommf
  1. Use oommf

Now oommf.tcl should be in the path and can be used as usual.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.3%
  • Dockerfile 19.1%
  • Roff 8.2%
  • Makefile 5.4%
  • Shell 1.0%