Skip to content

Commit

Permalink
Account for changed modulefiles location
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeOShannessy committed Mar 25, 2024
1 parent 9c35bbb commit 46eb009
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fds/fds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ elif [ "$USE_MPICH" = true ]; then
else
# Use Intel MPI by default. First we have to load the module files from
# the OneAPI installations as they aren't loaded by default.
module use /opt/intel/oneapi/modulefiles
/opt/intel/oneapi/modulefiles-setup.sh --force
module use ~/modulefiles
# Load mpi, this will now load intel mpi first
module load mpi
# Unlike openmpi, the intel modules don't set MPI_SUFFIX so we need to
Expand Down
4 changes: 3 additions & 1 deletion fds/template.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

%global this_release 4
%global this_release 5

#TODO: this isn't as clean as the openmpi version
%global _intelmpi_load \
Expand Down Expand Up @@ -221,6 +221,8 @@ install -D %{repo}-%{commit}/%{build_dir}/%{intel_string}%{?arch_suffix}/fds%{?m
%endif

%changelog
* Mon Mar 25 2024 Jake O'Shannessy <[email protected]> - %{version}-5
- Unpin intel package versions
* Sun Dec 10 2023 Jake O'Shannessy <[email protected]> - %{version}-4
- Unpin intel package versions
* Mon Jul 17 2023 Jake O'Shannessy <[email protected]> - %{version}-3
Expand Down

0 comments on commit 46eb009

Please sign in to comment.