Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
public:usage:spack [2020/05/04 12:41] – [Managing Modules] keiling | public:usage:spack [2021/03/28 16:59] – [Getting Started] kalkbrenner |
---|
</code> | </code> |
| |
<note warning>By default spack stores the temporary files under ''/tmp''. This is shared with all users on the cluster and should not be used for your spack installation. In order to change the directory spack uses for its temporary files you have to set the new directory in the ''config.yaml''. This can be done by the following commands.</note> | <note warning>By default spack stores the temporary files under ''/tmp''. This is shared with all users on the cluster and should not be used for your spack installation. **Spack files in ''/tmp'' will be deleted on a regular base within 30 minutes after creation**. In order to change the directory spack uses for its temporary files you have to set the new directory in the ''config.yaml''. This can be done by the following commands.</note> |
| |
First open your ''config.yaml'' located under ''~/spack/etc/spack/defaults/'' then change | First open your ''config.yaml'' located under ''~/spack/etc/spack/defaults/'' then change |
operating_system: rhel7 | operating_system: rhel7 |
paths: | paths: |
cc: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icc | cc: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/icc |
cxx: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/icpc | cxx: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/icpc |
f77: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/ifort | f77: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/ifort |
fc: /cluster/intel/compilers_and_libraries_2019.1.144/linux/bin/intel64/ifort | fc: /cluster/intel/2020.0/compilers_and_libraries_2020.0.166/linux/bin/intel64/ifort |
spec: intel@19.0.1.144 | spec: intel@19.1.0.166 |
target: x86_64 | target: x86_64 |
</code> | </code> |