Skip to content

Commit 2dbc6a6

Browse files
committed
Merge branch 'housekeeping_2025-03-16' into 'development'
housekeeping 2025-03-16 See merge request damask/DAMASK!1040
2 parents 0c1b983 + 9480e40 commit 2dbc6a6

25 files changed

+732
-641
lines changed

.gitlab-ci.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ variables:
3535
# Names of module files to load
3636
# ===============================================================================================
3737
# ++++++++++++ Compiler/MPI/PETSc +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38-
COMPILER_INTEL: "Compiler/Intel/2022.0.1 Libraries/IMKL/2022.0.1"
39-
MPI_INTEL: "MPI/Intel/2022.0.1/IntelMPI/2021.5.0"
40-
PETSC_INTEL: "Libraries/PETSc/3.16.5/Intel-2022.0.1-IntelMPI-2021.5.0"
38+
COMPILER_INTEL: "oneapi/2025.0.0"
39+
PETSC_INTEL: "Libraries/PETSc/3.22.4/OneAPI-2025.0"
4140
# ++++++++++++ MSC Marc +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4241
MSC: "FEM/MSC/2024.1"
4342
IntelMarc: "Compiler/Intel/2022.0.1 Libraries/IMKL/2022.0.1"
@@ -250,6 +249,7 @@ Marc_Intel:
250249
tags:
251250
- bare-metal
252251
script:
252+
- source /opt/venv/bin/activate
253253
- module load $IntelMarc $HDF5Marc $MSC
254254
- cd PRIVATE/testing
255255
- pytest -k 'compile and Marc' --basetemp ${TESTROOT}/compile_Marc
@@ -259,6 +259,7 @@ setup_Marc:
259259
tags:
260260
- bare-metal
261261
script:
262+
- source /opt/venv/bin/activate
262263
- module load $IntelMarc $HDF5Marc $MSC
263264
- cd $(mktemp -d)
264265
- cp ${CI_PROJECT_DIR}/examples/Marc/* .
@@ -285,7 +286,8 @@ open-source_grid_signal_restart:
285286
tags:
286287
- bare-metal
287288
before_script:
288-
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
289+
- source /opt/venv/bin/activate
290+
- module load ${COMPILER_INTEL} ${PETSC_INTEL}
289291
- cd $(mktemp -d)
290292
- cmake -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=${TESTROOT} ${CI_PROJECT_DIR}
291293
- make -j2 all install
@@ -316,6 +318,7 @@ Marc:
316318
tags:
317319
- bare-metal
318320
script:
321+
- source /opt/venv/bin/activate
319322
- cd PRIVATE/testing
320323
- pytest -k 'not compile and Marc' -m 'not cifail' --damask-root=${TESTROOT} --basetemp ${TESTROOT}/Marc -v
321324

@@ -332,10 +335,11 @@ grid_performance:
332335
- bare-metal
333336
before_script:
334337
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID} ${TOKEN} --blocking
338+
- source /opt/venv/bin/activate
335339
- source env/DAMASK.sh
336340
- echo Job start:" $(date)"
337341
script:
338-
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
342+
- module load ${COMPILER_INTEL} ${PETSC_INTEL}
339343
- cd $(mktemp -d)
340344
- cmake -DOPTIMIZATION=AGGRESSIVE -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=./ ${CI_PROJECT_DIR}
341345
- make -j2 all install
@@ -374,6 +378,7 @@ update_revision:
374378
- bare-metal
375379
before_script:
376380
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID} ${TOKEN}
381+
- source /opt/venv/bin/activate
377382
- echo Job start:" $(date)"
378383
script:
379384
- cd $(mktemp -d)

CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,10 @@ endif()
113113

114114
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
115115
set(Fortran_COMPILER_VERSION_MIN 11.1)
116-
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
117-
set(Fortran_COMPILER_VERSION_MIN 19)
118116
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "IntelLLVM")
119117
set(Fortran_COMPILER_VERSION_MIN 19)
120118
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
121-
set(Fortran_COMPILER_VERSION_MIN 19)
119+
set(Fortran_COMPILER_VERSION_MIN 20)
122120
else()
123121
message(FATAL_ERROR "Compiler '${CMAKE_Fortran_COMPILER_ID}' not supported")
124122
endif()

PRIVATE

cmake/Compiler-Intel.cmake

-111
This file was deleted.

python/damask/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
----------
66
D. Otto de Mentock et al., Journal of Open Source Software, 10(105):7164, 2025
77
https://doi.org/10.21105/joss.07164
8-
98
"""
109

1110
from pathlib import Path as _Path

0 commit comments

Comments
 (0)