Skip to content

Commit

Permalink
Update intel fortran build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
addman2 committed Feb 11, 2024
1 parent 78856c9 commit 1a46e7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ifeq ($(make_inc_c) ,c)
$(info 2 GNU Fortran Compiler with MPI)
$(info 3 Intel Fortran Compiler with MPI)
$(info )
$(shell read -p "Select an example [1-2]: " ans; \
$(shell read -p "Select an example [1-3]: " ans; \
if [ "$$ans" = "1" ]; then \
cp devel_tools/make.inc.examples/make.inc.example.gcc make.inc; \
elif [ "$$ans" = "2" ]; then \
Expand Down
4 changes: 2 additions & 2 deletions devel_tools/configs/make.inc.example.mpiifort
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SUFFIX=-mpi.x
# Keep in mind this have to be ABSOLUTE PATH. This file is loaded by sub-makefiles
# therefore $(pwd) or $(CURDIR) will not work.

BUILD_DIR=/home/addman/Software/turborvb-rm/build-serial
BUILD_DIR=/home/addman/Software/turborvb-rm/build-mpi

# Setup compilers Fortran and C. For this FC and CC variables are used respectively.

Expand All @@ -36,7 +36,7 @@ FCFLAGS+=-qopenmp

# Setting up optimization flags:

FCFLAGS+=-march=avx2 -ftree-vectorize
FCFLAGS+=-march=core-avx2

# Debug -g flag is not slowing down modern code so we can use it all the time.

Expand Down
1 change: 1 addition & 0 deletions src/m_common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ TARGET_MODULES := $(BUILD_DIR)/common_module.a
# First set modules:

MODULE_SRCS := $(SRC_DIR)/constants.f90 \
$(SRC_DIR)/qmckl.f90 \
$(SRC_DIR)/symmetries.f90 \
$(SRC_DIR)/cell.f90 \
$(SRC_DIR)/dielectric.f90 \
Expand Down

0 comments on commit 1a46e7d

Please sign in to comment.