summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/openfoam-com/common/README-spack
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/openfoam-com/common/README-spack')
-rw-r--r--var/spack/repos/builtin/packages/openfoam-com/common/README-spack15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openfoam-com/common/README-spack b/var/spack/repos/builtin/packages/openfoam-com/common/README-spack
new file mode 100644
index 0000000000..83b606dda1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openfoam-com/common/README-spack
@@ -0,0 +1,15 @@
+Additional notes for spack
+--------------------------
+
+OpenFOAM largely manages its own PATH and LD_LIBRARY_PATH settings.
+The spack build currently also follows this and only provides
+a minimum modules environment.
+
+The variable FOAM_PROJECT_DIR points to the location of the OpenFOAM project
+and shall contain a $FOAM_PROJECT_DIR/etc/bashrc file for OpenFOAM.
+The variable FOAM_INST_DIR may also be provided for older OpenFOAM versions.
+
+It is the aim for the future to use spack to provide the environment directly,
+but this still needs more work.
+
+2017-04-18