LLNL / libROM

Data-driven model reduction library with an emphasis on large scale parallelism and linear subspace methods
https://www.librom.net
Other
204 stars 36 forks source link

MACchanges #33

Closed kevinhkhuynh closed 4 years ago

kevinhkhuynh commented 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.

kevinhkhuynh commented 4 years ago

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.