BerkeleyGW Compilation on Lawrencium

23 views
Skip to first unread message

Rui Liu

unread,
Apr 30, 2025, 7:32:10 PMApr 30
to BerkeleyGW Help
Hello BerkeleyGW Team,

It may sound unusual, but I need to compile BerkeleyGW on Lawrencium in 2025. I've tried using various lawrencium_*.mk files as the arch.mk, but it appears that most, if not all, of the required modules are currently unavailable on Lawrencium. Despite my best efforts, every compilation attempt results in errors (see details below as one example). Does anyone have suggestions or solutions for getting BerkeleyGW to compile successfully on Lawrencium recently? Any advice would be greatly appreciated. Thank you!

Module loaded: 
1. intel-oneapi-mpi/2021.10.0 
2. hdf5/1.12.2 
3. intel-oneapi-compilers/2023.1.0 


Errors:
gfortran: error: unrecognized command line option ‘-no-prec-div’; did you mean ‘-fno-tree-dce’? 
gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’? make[3]: *** [Common/common-rules.mk:294: Common/nrtype_m.mod] Error 1 
gfortran: error: unrecognized command line option ‘-no-prec-div’; did you mean ‘-fno-tree-dce’? 
gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’? make[3]: *** [Common/common-rules.mk:294: Common/lapack_m.mod] Error 1
gfortran: error: unrecognized command line option ‘-no-prec-div’; did you mean ‘-fno-tree-dce’? 
gfortran: error: unrecognized command line option ‘-no-prec-div’; did you mean ‘-fno-tree-dce’? 
gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’?
gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’? make[3]: *** [Common/common-rules.mk:294: Common/blas_m.mod] Error 1 make[3]: *** [Common/common-rules.mk:294: Common/scalapack_aux_m.mod] Error 1 
gfortran: error: unrecognized command line option ‘-no-prec-div’; did you mean ‘-fno-tree-dce’? 
gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’?

Best,
Rui

Mauro Del Ben

unread,
Apr 30, 2025, 11:50:29 PMApr 30
to Rui Liu, BerkeleyGW Help
Hi Rui,

On LRC, load the modules:

module load gcc ; module load openmpi  ; module load intel-oneapi-mkl ; module load hdf5/1.14.3

And use the arch.mk in attachment.

Best

-M


--
You received this message because you are subscribed to the Google Groups "BerkeleyGW Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help+uns...@berkeleygw.org.
To view this discussion visit https://groups.google.com/a/berkeleygw.org/d/msgid/help/3652bab4-e12d-4332-9ea8-a084e9e47a42n%40berkeleygw.org.
arch.mk

Rui Liu

unread,
May 1, 2025, 4:31:39 PMMay 1
to BerkeleyGW Help, Mauro Del Ben, BerkeleyGW Help, Rui Liu
Thank you so much!

Rui Liu

unread,
May 1, 2025, 5:55:39 PMMay 1
to BerkeleyGW Help, Rui Liu, Mauro Del Ben, BerkeleyGW Help
Hi Mauro,

I have a follow-up question, I also want to send a job to Einsteinium cluster, should I change arch.mk to enable GPU?

Best,
Rui

Reply all
Reply to author
Forward
0 new messages