Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding make files from PR #78 #178

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions src/clib/Make.mach.ATERUI
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#=======================================================================
#
# FILE: Make.mach.linux-gnu
#
# DESCRIPTION: Makefile settings for a machine running Ubuntu
Comment on lines +3 to +5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs updating

#
# AUTHOR: Rick Wagner ([email protected])
#
# DATE: 2008-09-16
#
# This configuration assumes that build-essentials, gfortran,
# OpenMPI and HDF5 have been installed using apt-get.
#
#=======================================================================

MACH_TEXT = CfCA aterui with cray compilers. \
Do this: module load cray-hdf5
MACH_VALID = 1
MACH_FILE = Make.mach.ATERUI

#-----------------------------------------------------------------------
# Install paths (local variables)
#-----------------------------------------------------------------------

LOCAL_HDF5_INSTALL = $(HDF5_DIR)

#-----------------------------------------------------------------------
# Compiler settings
#-----------------------------------------------------------------------

MACH_CC_NOMPI = cc # C compiler
MACH_CXX_NOMPI = CC # C++ compiler
MACH_FC_NOMPI = ftn # Fortran 77
MACH_F90_NOMPI = ftn # Fortran 90
MACH_LD_NOMPI = cc # Linker
MACH_LIBTOOL = libtool

#-----------------------------------------------------------------------
# Machine-dependent defines
#-----------------------------------------------------------------------

MACH_DEFINES = -DLINUX -DH5_USE_16_API -std=c11 -h fp3 -Wno-unknown-pragmas

#-----------------------------------------------------------------------
# Compiler flag settings
#-----------------------------------------------------------------------

MACH_OMPFLAGS = #-fopenmp
MACH_CPPFLAGS = -P -traditional
MACH_CFLAGS =
MACH_CXXFLAGS =
MACH_FFLAGS =
MACH_F90FLAGS =
MACH_LDFLAGS =

#-----------------------------------------------------------------------
# Optimization flags
#-----------------------------------------------------------------------

MACH_OPT_WARN = -Wall -g
MACH_OPT_DEBUG = -g
MACH_OPT_HIGH = -O2
MACH_OPT_AGGRESSIVE = -O3 -g

#-----------------------------------------------------------------------
# Includes
#-----------------------------------------------------------------------

LOCAL_INCLUDES_HDF5 = -I$(LOCAL_HDF5_INSTALL)/include # HDF5 includes

MACH_INCLUDES = $(LOCAL_INCLUDES_HDF5)

#-----------------------------------------------------------------------
# Libraries
#-----------------------------------------------------------------------

LOCAL_LIBS_HDF5 = -L$(LOCAL_HDF5_INSTALL)/lib -lhdf5 # HDF5 libraries
LOCAL_LIBS_MACH =

MACH_LIBS = $(LOCAL_LIBS_HDF5) $(LOCAL_LIBS_MACH)

#-----------------------------------------------------------------------
# Installation
#-----------------------------------------------------------------------

MACH_INSTALL_PREFIX = /work/nakazatoyr/usr/local
MACH_INSTALL_LIB_DIR =
MACH_INSTALL_INCLUDE_DIR =
85 changes: 85 additions & 0 deletions src/clib/Make.mach.cfca-an
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
#=======================================================================
#
# FILE: Make.mach.linux-gnu
#
# DESCRIPTION: Makefile settings for a machine running Ubuntu
Comment on lines +3 to +5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs updating

#
# AUTHOR: Rick Wagner ([email protected])
#
# DATE: 2008-09-16
#
# This configuration assumes that build-essentials, gfortran,
# OpenMPI and HDF5 have been installed using apt-get.
#
#=======================================================================

MACH_TEXT = Use apt-get to install libhdf5-serial-dev gfortran
MACH_VALID = 1
MACH_FILE = Make.mach.linux-gnu

#-----------------------------------------------------------------------
# Install paths (local variables)
#-----------------------------------------------------------------------

#-----------------------------------------------------------------------
# Compiler settings
#-----------------------------------------------------------------------

MACH_CC_NOMPI = gcc # C compiler
MACH_CXX_NOMPI = g++ # C++ compiler
MACH_FC_NOMPI = gfortran # Fortran 77
MACH_F90_NOMPI = gfortran # Fortran 90
MACH_LD_NOMPI = gcc # Linker
MACH_LIBTOOL = libtool

#-----------------------------------------------------------------------
# Machine-dependent defines
#-----------------------------------------------------------------------

MACH_DEFINES = -DLINUX -DH5_USE_16_API -fPIC -std=c11 -Wno-unknown-pragmas

#-----------------------------------------------------------------------
# Compiler flag settings
#-----------------------------------------------------------------------

MACH_OMPFLAGS = #-fopenmp
MACH_CPPFLAGS = -P -traditional
MACH_CFLAGS =
MACH_CXXFLAGS =
MACH_FFLAGS = -fno-second-underscore -ffixed-line-length-132
MACH_F90FLAGS = -fno-second-underscore
MACH_LDFLAGS =

#-----------------------------------------------------------------------
# Optimization flags
#-----------------------------------------------------------------------

MACH_OPT_WARN = -Wall -g
MACH_OPT_DEBUG = -g
MACH_OPT_HIGH = -O2
MACH_OPT_AGGRESSIVE = -O3 -g

#-----------------------------------------------------------------------
# Includes
#-----------------------------------------------------------------------

LOCAL_INCLUDES_HDF5 = -I$(LOCAL_HDF5_INSTALL)/include # HDF5 includes

MACH_INCLUDES = $(LOCAL_INCLUDES_HDF5)

#-----------------------------------------------------------------------
# Libraries
#-----------------------------------------------------------------------

LOCAL_LIBS_HDF5 = -L$(LOCAL_HDF5_INSTALL)/lib -lhdf5 -lz # HDF5 libraries
LOCAL_LIBS_MACH = -lgfortran # Machine-dependent libraries

MACH_LIBS = $(LOCAL_LIBS_HDF5) $(LOCAL_LIBS_MACH)

#-----------------------------------------------------------------------
# Installation
#-----------------------------------------------------------------------

MACH_INSTALL_PREFIX = $(HOME)/usr/local
MACH_INSTALL_LIB_DIR =
MACH_INSTALL_INCLUDE_DIR =
88 changes: 88 additions & 0 deletions src/clib/Make.mach.hive-gcc
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#=======================================================================
#
# FILE: Make.mach.linux-gnu
#
# DESCRIPTION: Makefile settings for a machine running Ubuntu 8.04
Comment on lines +3 to +5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs updating

#
# AUTHOR: Rick Wagner ([email protected])
#
# DATE: 2008-09-16
#
# This configuration assumes that build-essentials, gfortran,
# OpenMPI and HDF5 have been installed using apt-get.
#
#=======================================================================

MACH_TEXT = Georgia Tech HIVE (GNU)
MACH_VALID = 1
MACH_FILE = Make.mach.hive-gcc

#-----------------------------------------------------------------------
# Install paths (local variables)
#-----------------------------------------------------------------------

LOCAL_HDF5_INSTALL = $(HOME)/usr/local/
#LOCAL_HDF5_INSTALL = /storage/home/hhive1/jw254/local/
#LOCAL_HDF5_INSTALL = /usr/local/pacerepov1/hdf5/1.8.19/mvapich2-2.1/intel-15.0

#-----------------------------------------------------------------------
# Compiler settings
#-----------------------------------------------------------------------

MACH_CC_NOMPI = gcc # C compiler
MACH_CXX_NOMPI = g++ # C++ compiler
MACH_FC_NOMPI = gfortran # Fortran 77
MACH_F90_NOMPI = gfortran # Fortran 90
MACH_LD_NOMPI = gcc # Linker
MACH_LIBTOOL = libtool

#-----------------------------------------------------------------------
# Machine-dependent defines
#-----------------------------------------------------------------------

MACH_DEFINES = -DLINUX -DH5_USE_16_API -fPIC

#-----------------------------------------------------------------------
# Compiler flag settings
#-----------------------------------------------------------------------

MACH_CPPFLAGS = -P -traditional
MACH_CFLAGS =
MACH_CXXFLAGS =
MACH_FFLAGS = -fno-second-underscore -ffixed-line-length-132
MACH_F90FLAGS = -fno-second-underscore
MACH_LDFLAGS =

#-----------------------------------------------------------------------
# Optimization flags
#-----------------------------------------------------------------------

MACH_OPT_WARN = -Wall -g
MACH_OPT_DEBUG = -g
MACH_OPT_HIGH = -O2
MACH_OPT_AGGRESSIVE = -O3 -g

#-----------------------------------------------------------------------
# Includes
#-----------------------------------------------------------------------

LOCAL_INCLUDES_HDF5 = -I$(LOCAL_HDF5_INSTALL)/include # HDF5 includes

MACH_INCLUDES = $(LOCAL_INCLUDES_HDF5)

#-----------------------------------------------------------------------
# Libraries
#-----------------------------------------------------------------------

LOCAL_LIBS_HDF5 = -L$(LOCAL_HDF5_INSTALL)/lib -lhdf5 -lz # HDF5 libraries
LOCAL_LIBS_MACH = -lgfortran # Machine-dependent libraries

MACH_LIBS = $(LOCAL_LIBS_HDF5) $(LOCAL_LIBS_MACH)

#-----------------------------------------------------------------------
# Installation
#-----------------------------------------------------------------------

MACH_INSTALL_PREFIX = $(HOME)/usr/local
MACH_INSTALL_LIB_DIR =
MACH_INSTALL_INCLUDE_DIR =
88 changes: 88 additions & 0 deletions src/clib/Make.mach.hive-intel
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#=======================================================================
#
# FILE: Make.mach.linux-gnu
#
# DESCRIPTION: Makefile settings for a machine running Ubuntu 8.04
Comment on lines +3 to +5
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs updating

#
# AUTHOR: Rick Wagner ([email protected])
#
# DATE: 2008-09-16
#
# This configuration assumes that build-essentials, gfortran,
# OpenMPI and HDF5 have been installed using apt-get.
#
#=======================================================================

MACH_TEXT = Georgia Tech HIVE (INTEL)
MACH_VALID = 1
MACH_FILE = Make.mach.hive-intel

#-----------------------------------------------------------------------
# Install paths (local variables)
#-----------------------------------------------------------------------

LOCAL_HDF5_INSTALL = $(HOME)/usr/local/
#LOCAL_HDF5_INSTALL = /storage/home/hhive1/jw254/local/
#LOCAL_HDF5_INSTALL = /usr/local/pacerepov1/hdf5/1.8.19/mvapich2-2.1/intel-15.0

#-----------------------------------------------------------------------
# Compiler settings
#-----------------------------------------------------------------------

MACH_CC_NOMPI = mpiicc # C compiler
MACH_CXX_NOMPI = mpiicpc # C++ compiler
MACH_FC_NOMPI = mpiifort # Fortran 77
MACH_F90_NOMPI = mpiifort # Fortran 90
MACH_LD_NOMPI = mpiicc # Linker
MACH_LIBTOOL = libtool

#-----------------------------------------------------------------------
# Machine-dependent defines
#-----------------------------------------------------------------------

MACH_DEFINES = -DLINUX -DH5_USE_16_API -fPIC

#-----------------------------------------------------------------------
# Compiler flag settings
#-----------------------------------------------------------------------

MACH_CPPFLAGS = -P -traditional
MACH_CFLAGS =
MACH_CXXFLAGS =
MACH_FFLAGS = -132
MACH_F90FLAGS =
MACH_LDFLAGS = -lifcore -lifport -lpthread -ldl

#-----------------------------------------------------------------------
# Optimization flags
#-----------------------------------------------------------------------

MACH_OPT_WARN = -Wall -g
MACH_OPT_DEBUG = -g
MACH_OPT_HIGH = -O2
MACH_OPT_AGGRESSIVE = -O3 -g

#-----------------------------------------------------------------------
# Includes
#-----------------------------------------------------------------------

LOCAL_INCLUDES_HDF5 = -I$(LOCAL_HDF5_INSTALL)/include # HDF5 includes

MACH_INCLUDES = $(LOCAL_INCLUDES_HDF5)

#-----------------------------------------------------------------------
# Libraries
#-----------------------------------------------------------------------

LOCAL_LIBS_HDF5 = -L$(LOCAL_HDF5_INSTALL)/lib -lhdf5 -lz # HDF5 libraries
LOCAL_LIBS_MACH = -lgfortran # Machine-dependent libraries

MACH_LIBS = $(LOCAL_LIBS_HDF5) $(LOCAL_LIBS_MACH)

#-----------------------------------------------------------------------
# Installation
#-----------------------------------------------------------------------

MACH_INSTALL_PREFIX = $(HOME)/usr/local
MACH_INSTALL_LIB_DIR =
MACH_INSTALL_INCLUDE_DIR =
Loading