Skip to content
Snippets Groups Projects
Commit b48d049a authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

Merge branch 'YAXT-2023' into '2023'

Yaxt 2023

See merge request software-team/easybuild!1789
parents 4a42315b 24b95a39
Branches
No related tags found
No related merge requests found
# YAXT
YAXT installation requires MPI. At JSC, it is neccessary to have an active `salloc` session and to specify a buildpath. For example on JUWELS:
```
salloc --time=1:00:00 --nodes=1 --ntasks=16 --partition=devel -A cswmanage
eb YAXT-0.9.3.1-gpsmpi-2022a.eb --buildpath=/p/scratch/cswmanage/$USER/builddir/$SYSTEMNAME/
```
\ No newline at end of file
# Updated to new URL and version 0.9.3.1
easyblock = 'ConfigureMake'
name = 'YAXT'
version = '0.9.3.1'
homepage = 'https://swprojects.dkrz.de/redmine/projects/yaxt'
description = "Yet Another eXchange Tool"
toolchain = {'name': 'gompi', 'version': '2022a'}
toolchainopts = {'usempi': True}
source_urls = [
'https://swprojects.dkrz.de/redmine/attachments/download/523/',
'https://www.dkrz.de/redmine/attachments/download/523/',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['5cc2ffeedf1604f825f22867753b637d41507941b7a0fbbfa6ea40637a77605a']
configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp"'
preconfigopts = 'MPI_LAUNCH="$(which srun)"'
sanity_check_paths = {
'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
'dirs': ['include/xt'],
}
moduleclass = 'tools'
# Updated to new URL and version 0.9.3.1
easyblock = 'ConfigureMake'
name = 'YAXT'
version = '0.9.3.1'
homepage = 'https://swprojects.dkrz.de/redmine/projects/yaxt'
description = "Yet Another eXchange Tool"
toolchain = {'name': 'gpsmpi', 'version': '2022a'}
toolchainopts = {'usempi': True}
source_urls = [
'https://swprojects.dkrz.de/redmine/attachments/download/523/',
'https://www.dkrz.de/redmine/attachments/download/523/',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['5cc2ffeedf1604f825f22867753b637d41507941b7a0fbbfa6ea40637a77605a']
configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp"'
preconfigopts = 'MPI_LAUNCH="$(which srun)"'
sanity_check_paths = {
'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
'dirs': ['include/xt'],
}
moduleclass = 'tools'
# Updated to new URL and version 0.9.3.1
easyblock = 'ConfigureMake'
name = 'YAXT'
version = '0.9.3.1'
homepage = 'https://swprojects.dkrz.de/redmine/projects/yaxt'
description = "Yet Another eXchange Tool"
toolchain = {'name': 'ipsmpi', 'version': '2022a'}
toolchainopts = {'usempi': True}
source_urls = [
'https://swprojects.dkrz.de/redmine/attachments/download/523/',
'https://www.dkrz.de/redmine/attachments/download/523/',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['5cc2ffeedf1604f825f22867753b637d41507941b7a0fbbfa6ea40637a77605a']
configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp"'
preconfigopts = 'MPI_LAUNCH="$(which srun)"'
sanity_check_paths = {
'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
'dirs': ['include/xt'],
}
moduleclass = 'tools'
# Updated to new URL and version 0.9.3.1
easyblock = 'ConfigureMake'
name = 'YAXT'
version = '0.9.3.1'
homepage = 'https://swprojects.dkrz.de/redmine/projects/yaxt'
description = "Yet Another eXchange Tool"
toolchain = {'name': 'npsmpic', 'version': '2022a'}
toolchainopts = {'usempi': True}
source_urls = [
'https://swprojects.dkrz.de/redmine/attachments/download/523/',
'https://www.dkrz.de/redmine/attachments/download/523/',
]
sources = [SOURCELOWER_TAR_GZ]
patches = [
('YAXT-%(version)s_remove_pgi-specific.patch', 1),
]
checksums = [
{'yaxt-0.9.3.1.tar.gz': '5cc2ffeedf1604f825f22867753b637d41507941b7a0fbbfa6ea40637a77605a'},
{'YAXT-0.9.3.1_remove_pgi-specific.patch': '1cbff4767e075636feef7b34f6c0e1498fce53399c38c14abf2fe8f09c244e9b'},
]
configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp"'
preconfigopts = 'MPI_LAUNCH="$(which srun)"'
sanity_check_paths = {
'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
'dirs': ['include/xt'],
}
moduleclass = 'tools'
# Updated to new URL and version 0.9.3.1
easyblock = 'ConfigureMake'
name = 'YAXT'
version = '0.9.3.1'
homepage = 'https://swprojects.dkrz.de/redmine/projects/yaxt'
description = "Yet Another eXchange Tool"
toolchain = {'name': 'nvompic', 'version': '2022a'}
toolchainopts = {'usempi': True}
source_urls = [
'https://swprojects.dkrz.de/redmine/attachments/download/523/',
'https://www.dkrz.de/redmine/attachments/download/523/',
]
sources = [SOURCELOWER_TAR_GZ]
patches = [
('YAXT-%(version)s_remove_pgi-specific.patch', 1),
]
checksums = [
{'yaxt-0.9.3.1.tar.gz': '5cc2ffeedf1604f825f22867753b637d41507941b7a0fbbfa6ea40637a77605a'},
{'YAXT-0.9.3.1_remove_pgi-specific.patch': '1cbff4767e075636feef7b34f6c0e1498fce53399c38c14abf2fe8f09c244e9b'},
]
configopts = 'FC="$F90" FCFLAGS="$F90FLAGS -cpp"'
preconfigopts = 'MPI_LAUNCH="$(which srun)"'
sanity_check_paths = {
'files': ['include/yaxt.h', 'include/yaxt.mod', 'lib/libyaxt.a', 'lib/libyaxt.%s' % SHLIB_EXT],
'dirs': ['include/xt'],
}
moduleclass = 'tools'
Comment out dedicated PGI-code, as NVHPC does not support several intrinsics in the initialization phase.
Author: s.griessbach@fz-juelich.de
--- yaxt-0.9.3.1/tests/ftest_common.f90.orig 2023-02-14 17:04:33.099320000 +0100
+++ yaxt-0.9.3.1/tests/ftest_common.f90 2023-02-14 17:03:57.795024000 +0100
@@ -1,3 +1,4 @@
+
!>
!! @file ftest_common.f90
!!
@@ -1214,21 +1215,21 @@
! double precision real and gfortran warns about that. For that
! reason the below expression limits scale_val to those 1-bits
! which can be represented in a double precision constant
-#if ! defined __PGI || __PGIC__ > 21
- INTEGER(i8), PARAMETER :: scale_val &
- = IAND(HUGE(a), NOT(ISHFT(1_i8, BIT_SIZE(1_i8) &
- & - DIGITS(0.0_c_double)) - 1 ) )
-#else
+ !#if defined __PGI || __PGIC__ > 21
+ ! INTEGER(i8), PARAMETER :: scale_val &
+ ! = IAND(HUGE(a), NOT(ISHFT(1_i8, BIT_SIZE(1_i8) &
+ ! & - DIGITS(0.0_c_double)) - 1 ) )
+ !#else
INTEGER(i8) :: scale_val
-#endif
+ !#endif
REAL(c_double) :: rand_nums(block_len), sc
n = SIZE(a)
nb = n/block_len
-#if defined __PGI && __PGIC__ <= 21
- scale_val &
- = IAND(HUGE(a), NOT(ISHFT(1_i8, BIT_SIZE(1_i8) &
- & - DIGITS(0.0_c_double)) - 1 ) )
-#endif
+ !#if defined __PGI && __PGIC__ <= 21
+ ! scale_val &
+ ! = IAND(HUGE(a), NOT(ISHFT(1_i8, BIT_SIZE(1_i8) &
+ ! & - DIGITS(0.0_c_double)) - 1 ) )
+ !#endif
sc = REAL(scale_val, c_double)
DO j = 1, nb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment