IRHPC / irhpc.github.io

Main documentation site
https://irhpc.github.io
MIT License
7 stars 4 forks source link

[PKG-REQ] GPAW 21.1.0 #6

Closed eojons closed 1 year ago

eojons commented 3 years ago

Is your package request related to a problem with an existing package? Please describe. A clear and concise description of what the problem is. Ex. boost-x requires gcc-y

Suggesting a NUR/existing derivation? If you know of an existing deriviation link to it here.

Information

example siteconfig.py

compiler=icc mpicompiler=mpiicc mpilinker=mpiicc

libraries += ['fftw3x_cdft_lp64', 'xc', 'mkl_intel_lp64', 'mkl_blas_lp64','mkl_lapack95_lp64','mkl_sequential', 'mkl_core','mkl_rt', 'mkl_scalapack_lp64', 'mkl_blacs_intelmpi_lp64', 'mkl_tbb_thread', 'pthread']

MKLROOT= library_dirs = [MKLROOT+'/mkl/latest/lib/intel64'] include_dirs = [MKLROOT+'/mkl/latest/include/intel64/lp64', MKLROOT+'/mkl/latest/include', MKLROOT+'/mkl/latest/include/fftw']

! possibly also add -qopenmp flag for multithreading extra_compile_args = ['-O3','-fPIC','-Wall', '-Wno-unknown-pragmas', '-std=c99'] ! extra_objects should probacly just be added to libraries (mkl_mc, mkl_def) extra_objects = [MKLROOT+'/mkl/latest/lib/intel64/libmkl_mc.so.1', MKLROOT+'/mkl/latest/lib/intel64/libmkl_def.so.1']

XCROOT= include_dirs += [XCROOT+'/include'] library_dirs += [XCROOT+'/lib'] extra_link_args += ['-Wl,-rpath={XCROOT}/lib'.format(xc=xc)]

Known Caveats / Dependencies / Requirements

fftw3-mpi wrapper: in mkl/interfaces/fftw3x_cdft/ "make libintel64 CFLAGS="-fPIC" build 32bit (_lp64) (optional interface=ilp64 for 64bit _ilp64)

Additional context Add any other context or screenshots about the feature request here.

eojons commented 1 year ago

Have GPAW/22.8.0-foss-2021b as part of libsci-gcc