From df0ec034e699a74d42c0146e9d73284171f8c7fa Mon Sep 17 00:00:00 2001 From: Tamas K Stenczel Date: Sat, 3 Aug 2024 08:46:31 +0100 Subject: [PATCH] Arch file for ARM MacOS with OpenMPI + update copyright header in darwin_arm64 arch files --- arch/Makefile.darwin_arm64_gfortran | 2 +- arch/Makefile.darwin_arm64_gfortran_openmp | 2 +- arch/Makefile.darwin_arm64_gfortran_openmpi | 42 +++++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 arch/Makefile.darwin_arm64_gfortran_openmpi diff --git a/arch/Makefile.darwin_arm64_gfortran b/arch/Makefile.darwin_arm64_gfortran index 5b18143fdf..9998bc79d7 100644 --- a/arch/Makefile.darwin_arm64_gfortran +++ b/arch/Makefile.darwin_arm64_gfortran @@ -6,7 +6,7 @@ # H0 X Albert Bartok-Partay, Silvia Cereda, Gabor Csanyi, James Kermode, # H0 X Ivan Solt, Wojciech Szlachta, Csilla Varnai, Steven Winfield. # H0 X -# H0 X Copyright 2006-2010. +# H0 X Copyright 2006-2024. # H0 X # H0 X These portions of the source code are released under the GNU General # H0 X Public License, version 2, http://www.gnu.org/copyleft/gpl.html diff --git a/arch/Makefile.darwin_arm64_gfortran_openmp b/arch/Makefile.darwin_arm64_gfortran_openmp index 1f7919c6a1..de2751fdaa 100644 --- a/arch/Makefile.darwin_arm64_gfortran_openmp +++ b/arch/Makefile.darwin_arm64_gfortran_openmp @@ -6,7 +6,7 @@ # H0 X Albert Bartok-Partay, Silvia Cereda, Gabor Csanyi, James Kermode, # H0 X Ivan Solt, Wojciech Szlachta, Csilla Varnai, Steven Winfield. # H0 X -# H0 X Copyright 2006-2010. +# H0 X Copyright 2006-2024. # H0 X # H0 X These portions of the source code are released under the GNU General # H0 X Public License, version 2, http://www.gnu.org/copyleft/gpl.html diff --git a/arch/Makefile.darwin_arm64_gfortran_openmpi b/arch/Makefile.darwin_arm64_gfortran_openmpi new file mode 100644 index 0000000000..87871c5b1c --- /dev/null +++ b/arch/Makefile.darwin_arm64_gfortran_openmpi @@ -0,0 +1,42 @@ +# H0 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +# H0 X +# H0 X libAtoms+QUIP: atomistic simulation library +# H0 X +# H0 X Portions of this code were written by +# H0 X Albert Bartok-Partay, Silvia Cereda, Gabor Csanyi, James Kermode, +# H0 X Ivan Solt, Wojciech Szlachta, Csilla Varnai, Steven Winfield. +# H0 X +# H0 X Copyright 2006-2024. +# H0 X +# H0 X These portions of the source code are released under the GNU General +# H0 X Public License, version 2, http://www.gnu.org/copyleft/gpl.html +# H0 X +# H0 X If you would like to license the source code under different terms, +# H0 X please contact Gabor Csanyi, gabor@csanyi.net +# H0 X +# H0 X Portions of this code were written by Noam Bernstein as part of +# H0 X his employment for the U.S. Government, and are not subject +# H0 X to copyright in the USA. +# H0 X +# H0 X +# H0 X When using this software, please cite the following reference: +# H0 X +# H0 X http://www.libatoms.org +# H0 X +# H0 X Additional contributions by +# H0 X Alessio Comisso, Chiara Gattinoni, and Gianpietro Moras +# H0 X +# H0 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + +# declarations + +include arch/Makefile.darwin_x86_64_gfortran + +F77 = mpif77 +F90 = mpif90 +F95 = mpif90 +CC = mpicc +CPLUSPLUS = mpic++ +LINKER = mpif90 + +DEFINES += -D_MPI -DMPI_1