Skip to content

Commit

Permalink
NEO Makefile temporary hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Candy committed Apr 25, 2024
1 parent 6d05720 commit b55a7ad
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions neo/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,23 @@ OBJECTS = neo_globals.o \
neo_spitzer.o \
matconv.o

# JC: Commenting out 2024.04.25
#NEO_FLAGS = -cpp
ifdef CUDA_DIR
OBJECTS += neo_cusolve.o cusolve.o
NEO_FLAGS += -DNEO_HAVE_CUDA $(CUDA_INC)
NEO_LIBS += $(CUDA_LIB)
endif
ifdef PETSC_DIR
OBJECTS += neo_petsc.o
NEO_FLAGS += -DNEO_HAVE_PETSC $(PETSC_INC)
NEO_LIBS += $(PETSC_LIB)
endif
ifdef SUPERLU_DIR
OBJECTS += neo_superlu.o st_to_cc.o c_fortran_dgssv.o
NEO_FLAGS += -DNEO_HAVE_SUPERLU $(SUPERLU_INC)
NEO_LIBS += $(SUPERLU_LIB)
endif
#ifdef CUDA_DIR
# OBJECTS += neo_cusolve.o cusolve.o
# NEO_FLAGS += -DNEO_HAVE_CUDA $(CUDA_INC)
# NEO_LIBS += $(CUDA_LIB)
#endif
#ifdef PETSC_DIR
# OBJECTS += neo_petsc.o
# NEO_FLAGS += -DNEO_HAVE_PETSC $(PETSC_INC)
# NEO_LIBS += $(PETSC_LIB)
#endif
#ifdef SUPERLU_DIR
# OBJECTS += neo_superlu.o st_to_cc.o c_fortran_dgssv.o
# NEO_FLAGS += -DNEO_HAVE_SUPERLU $(SUPERLU_INC)
# NEO_LIBS += $(SUPERLU_LIB)
#endif

.SUFFIXES : .o .f90 .F90

Expand Down

0 comments on commit b55a7ad

Please sign in to comment.