Closed kevinhkhuynh closed 4 years ago
Hi, Youngsoo. These changes allow the library to work easily with MAC.
It will require more changes in user2.mk in Laghos though, but I think it simplifies user2.mk in Laghos.
This is my user2.mk now:
laghos: $(OBJECT_FILES) $(CONFIG_MK) $(MFEM_LIB_FILE) $(CCC) -o laghos $(OBJECT_FILES) $(LIBS) -Wl,-rpath,$(CURDIR)/../libROM/build -L$(CURDIR)/../libROM/build -lROM $(SCALAPACK_FLAGS)
I have added -rpath for libROM and removed hdf5 as we will use the hdf5 version libROM points to.
The Laghos regression test script also will not run correctly without a small change in that file as well. I'll fix the change in the regression test script once this is pushed.
Hi, Youngsoo. These changes allow the library to work easily with MAC.
It will require more changes in user2.mk in Laghos though, but I think it simplifies user2.mk in Laghos.
This is my user2.mk now:
laghos: $(OBJECT_FILES) $(CONFIG_MK) $(MFEM_LIB_FILE) $(CCC) -o laghos $(OBJECT_FILES) $(LIBS) -Wl,-rpath,$(CURDIR)/../libROM/build -L$(CURDIR)/../libROM/build -lROM $(SCALAPACK_FLAGS)
I have added -rpath for libROM and removed hdf5 as we will use the hdf5 version libROM points to.