Contents
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):
Compile OOMMF on (Debian) Linux with spack using the oommf/package.py file in this repository:
At the moment, this is under development, and we need three lines
install spack as described here:
git clone -c feature.manyFiles=true https://github.com/spack/spack.git ~/spack
cd into spack directory with:
cd ~/spack
activate spack with
source share/spack/setup-env.sh
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
- Activate spack (adjust the path below if not inside spack directory)
source share/spack/setup-env.sh
- Load oommf
spack load oommf
- 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):
Compile OOMMF on OSX with Spack, see
osx
branch at https://github.com/fangohr/oommf-in-spack/tree/osx.Compile OOMMF on Debian and OSX, using Spack’s
develop
branch, see https://github.com/fangohr/oommf-in-spack/tree/spack-develop.