Skip to content

fangohr/oommf-in-spack

Repository files navigation

Support repository for getting the OOMMF package into Spack.

Mostly aimed for maintainers of the OOMMF package in spack: to test changes to the oommf/spack.py file before request merges in spack upstream.

There is a related effort to run some tests on the OOMMF package in spack for older versions of spack at https://github.com/fangohr/spack-ci-oommf .

Compile OOMMF in Debian (without spack, just for reference):

native

Compile OOMMF on (Debian) Linux with spack using the oommf/package.py file in this repository:

spack-latest-release

spack-develop

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

  1. install spack as described here:

    git clone -c feature.manyFiles=true https://github.com/spack/spack.git ~/spack

  2. cd into spack directory with: cd ~/spack

  3. activate spack with source share/spack/setup-env.sh

  4. Then compile oommf (this could take some time):

spack install oommf

Ideally, there are no errors.

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

  1. Activate spack (adjust the path below if not inside spack directory)
  • source 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.

More experimental are the following (and done in separate branches):

  1. Compile OOMMF on OSX with Spack, see osx branch at https://github.com/fangohr/oommf-in-spack/tree/osx.

    osx-spack-v0.18.1-plus-epsilon osx-spack-v0.16.3

  2. Compile OOMMF on Debian and OSX, using Spack’s develop branch, see https://github.com/fangohr/oommf-in-spack/tree/spack-develop.

    debian-spack-develop osx-spack-develop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published