From 76281cb50c6078a5bf3f6d31646dbeb4db31e636 Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 18:57:48 -0800 Subject: [PATCH 01/51] Install gfortran Mac dependency --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d2d41bfd..3f857bc36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: steps: - name: Install Mac dependencies run: | + brew install gfortran brew install open-mpi brew install openblas brew install lapack From 25f72f6670aaeacde16acb6196d808be1f84585a Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:03:29 -0800 Subject: [PATCH 02/51] Install gcc10 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f857bc36..9d31f9d40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: steps: - name: Install Mac dependencies run: | - brew install gfortran + brew install gcc@10 brew install open-mpi brew install openblas brew install lapack From 5ebf47a115aa4051d02a99d7bf07d3e6282e4cfe Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:25:37 -0800 Subject: [PATCH 03/51] brew install gcc --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d31f9d40..27ff40645 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: steps: - name: Install Mac dependencies run: | - brew install gcc@10 + brew install gcc brew install open-mpi brew install openblas brew install lapack From aefb23d08f2b25886f0fa4b3e5cf173b37034b1d Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:29:23 -0800 Subject: [PATCH 04/51] Change gfortran version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27ff40645..2e7fe8d32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: - uses: ./.github/workflows/checkout_repo - name: Build libROM run: | - export FC=/usr/local/bin/gfortran-10 + export FC=/usr/local/bin/gfortran-12 mkdir ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build cmake -DCMAKE_BUILD_TYPE=Debug .. From 6de9fffe23cbe51cd7b61efb0a390680371bf14a Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:36:41 -0800 Subject: [PATCH 05/51] libquadmath issue on MacOS 12 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e7fe8d32..276b0fb41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: - name: Install Mac dependencies run: | brew install gcc + ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 2f8da774a512b4de522b3b5ba655d30e7c638c5f Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:42:26 -0800 Subject: [PATCH 06/51] Test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 276b0fb41..cc035a630 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: - name: Install Mac dependencies run: | brew install gcc + gcc --version ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas From 48460e4b82ce3b883e3e59fccb15c45a028f7873 Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:46:44 -0800 Subject: [PATCH 07/51] Test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc035a630..1b2195084 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: run: | brew install gcc gcc --version + ls /usr/local/lib/gcc ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas From 83629bb9e001f4123e05a09aa5d49dd150d3d3bc Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 19:50:08 -0800 Subject: [PATCH 08/51] Test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b2195084..a17064294 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: run: | brew install gcc gcc --version - ls /usr/local/lib/gcc + ls /usr/local/lib/gcc/12 ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas From 2835cf2265f8336fedbf43ed3a4f6e203002d90e Mon Sep 17 00:00:00 2001 From: pvempati Date: Mon, 5 Dec 2022 20:05:02 -0800 Subject: [PATCH 09/51] Test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a17064294..0a9ba43e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: brew install gcc gcc --version ls /usr/local/lib/gcc/12 - ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib + ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 668027c706381a9bf83bafbbb0e41b151b1d9203 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 19:28:19 -0800 Subject: [PATCH 10/51] rpath test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a9ba43e3..5d70f1d9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: brew install gcc gcc --version ls /usr/local/lib/gcc/12 - ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/lib/libquadmath.0.dylib + ln /usr/local/lib/gcc/12/libquadmath.0.dylib ./lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From b07aaba77e3a6cc53d07253c6384d8db5be396d0 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 19:37:48 -0800 Subject: [PATCH 11/51] Commit --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d70f1d9c..a3d5ef20a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: brew install gcc gcc --version ls /usr/local/lib/gcc/12 - ln /usr/local/lib/gcc/12/libquadmath.0.dylib ./lib/libquadmath.0.dylib + ln /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 1a39c0a30fa84998544ef2d53904876784134607 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 19:43:24 -0800 Subject: [PATCH 12/51] Symlink libquadmath.dylib --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3d5ef20a..16b58a4c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,10 +52,9 @@ jobs: steps: - name: Install Mac dependencies run: | - brew install gcc gcc --version ls /usr/local/lib/gcc/12 - ln /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/lib/libquadmath.0.dylib + ln -s /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 2c996857256358e875dca12e2509d78ee15ab9ba Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 20:15:31 -0800 Subject: [PATCH 13/51] Commit --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16b58a4c8..b5191d80a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: steps: - name: Install Mac dependencies run: | + uname -a gcc --version ls /usr/local/lib/gcc/12 ln -s /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/lib/libquadmath.0.dylib From 2c93d4c0568f758844229c6b7e33b3173ea1e9e7 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 21:07:21 -0800 Subject: [PATCH 14/51] Test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5191d80a..9e9d765b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - ln -s /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/lib/libquadmath.0.dylib + ln /usr/local/lib/gcc/11/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From e2932ddf2068476ce4faa72d923d44ec38186a77 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 21:41:47 -0800 Subject: [PATCH 15/51] Test --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e9d765b5..160120423 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,8 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - ln /usr/local/lib/gcc/11/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib + otool -D /usr/local/lib/gcc/12/libquadmath.0.dylib + ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From dd56f5816d31fff32ec352483108e740ef6238c2 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 21:48:56 -0800 Subject: [PATCH 16/51] Test --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 160120423..dbdd169ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,6 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -D /usr/local/lib/gcc/12/libquadmath.0.dylib - ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 39d82ed5eed952b72d36eb96c24a0cf309c8d35c Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 21:53:35 -0800 Subject: [PATCH 17/51] Test --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbdd169ad..97765165c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,8 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -D /usr/local/lib/gcc/12/libquadmath.0.dylib + mkdir -p /usr/local/gfortran/lib + ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 0e7bcc07ab893c87efc9b088fbd26ce1243dd883 Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 22:02:18 -0800 Subject: [PATCH 18/51] Test --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97765165c..40af5d474 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,8 +56,6 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -D /usr/local/lib/gcc/12/libquadmath.0.dylib - mkdir -p /usr/local/gfortran/lib - ln /usr/local/lib/gcc/12/libquadmath.0.dylib /usr/local/gfortran/lib/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack @@ -71,6 +69,8 @@ jobs: export FC=/usr/local/bin/gfortran-12 mkdir ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build + mkdir -p ${GITHUB_WORKSPACE}/build/lib + cp /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/build/lib/libquadmath.0.dylib cmake -DCMAKE_BUILD_TYPE=Debug .. make cmake -DCMAKE_BUILD_TYPE=Optimized .. From f6abc1dd1b2e4d4b5f98f35a7fee1052711634ac Mon Sep 17 00:00:00 2001 From: pvempati Date: Tue, 6 Dec 2022 22:12:34 -0800 Subject: [PATCH 19/51] Test --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40af5d474..54fafd94e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,10 +69,8 @@ jobs: export FC=/usr/local/bin/gfortran-12 mkdir ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build - mkdir -p ${GITHUB_WORKSPACE}/build/lib - cp /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/build/lib/libquadmath.0.dylib - cmake -DCMAKE_BUILD_TYPE=Debug .. + cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_MFEM=On .. make - cmake -DCMAKE_BUILD_TYPE=Optimized .. + cmake -DCMAKE_BUILD_TYPE=Optimized -DUSE_MFEM=On .. make - uses: ./.github/workflows/run_tests \ No newline at end of file From e5d5015c774ac80a9e8c6bea0d227957e57d336f Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Wed, 7 Dec 2022 15:37:47 -0800 Subject: [PATCH 20/51] Look for rpath of libquadmath --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54fafd94e..fd68bf381 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,8 +69,8 @@ jobs: export FC=/usr/local/bin/gfortran-12 mkdir ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build - cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_MFEM=On .. + cmake -DCMAKE_BUILD_TYPE=Debug .. make - cmake -DCMAKE_BUILD_TYPE=Optimized -DUSE_MFEM=On .. + cmake -DCMAKE_BUILD_TYPE=Optimized .. make - uses: ./.github/workflows/run_tests \ No newline at end of file From e0dd69930c9cc0cfd4a4205824362ac958a1124d Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 15:40:48 -0800 Subject: [PATCH 21/51] Print libquadmath LC_RPATH on MacOS 12 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ec989fa2..9dc82cade 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - otool -D /usr/local/lib/gcc/12/libquadmath.0.dylib + otool -l libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi brew install openblas brew install lapack From 8efed3921e54ba7c372744fec6ef5c7c8eb9f763 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 16:21:44 -0800 Subject: [PATCH 22/51] otool: Specify full path to libquadmath --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dc82cade..570a5ce58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - otool -l libquadmath.0.dylib | grep -A2 LC_RPATH + otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi brew install openblas brew install lapack From 27eb87088399e49ced13d9956a11183d97850162 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 17:18:13 -0800 Subject: [PATCH 23/51] Change libquadmath rpath --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 570a5ce58..a63992355 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 + install_name_tool -id "@rpath/libtest.dylib" libtest.dylib otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi brew install openblas From 9e448728010a6b888a3d1ae8869a65ec6824ad5c Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 20:45:41 -0800 Subject: [PATCH 24/51] small fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a63992355..fc638f1ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,8 +54,8 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - install_name_tool -id "@rpath/libtest.dylib" libtest.dylib otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH + install_name_tool -id "@rpath/libquadmath.0.dylib" libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 20efd77d1aa65b07f5334e05359fe3f272bcb6d5 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 20:51:07 -0800 Subject: [PATCH 25/51] Absolute path --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc638f1ff..1e459da68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH - install_name_tool -id "@rpath/libquadmath.0.dylib" libquadmath.0.dylib + install_name_tool -id "@rpath/libquadmath.0.dylib" /usr/local/lib/gcc/12/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 20c02012c56682bf30777420b113432640b65553 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 21:12:19 -0800 Subject: [PATCH 26/51] Specify LD_LIBRARY_PATH --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e459da68..32c43df2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,8 +54,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH - install_name_tool -id "@rpath/libquadmath.0.dylib" /usr/local/lib/gcc/12/libquadmath.0.dylib + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gcc/12 brew install open-mpi brew install openblas brew install lapack From f1e152545a128dd0a6ba273556aa895a3e7c0750 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 22:01:38 -0800 Subject: [PATCH 27/51] Add rpath --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32c43df2d..7b473c3a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,8 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gcc/12 + otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH + install_name_tool -add_rpath /usr/local/lib/gcc/12/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 2d4d40246c4133c08986125e4d5c04c52a194d89 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 22:09:47 -0800 Subject: [PATCH 28/51] small fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b473c3a2..1d5bf0065 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH - install_name_tool -add_rpath /usr/local/lib/gcc/12/libquadmath.0.dylib + install_name_tool -add_rpath /usr/local/lib/gcc/12 brew install open-mpi brew install openblas brew install lapack From 988bea37a09246b079a49714b3a40f9bdcac6962 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 22:11:03 -0800 Subject: [PATCH 29/51] Minor change --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d5bf0065..5d9308e1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH + otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep LC_RPATH install_name_tool -add_rpath /usr/local/lib/gcc/12 brew install open-mpi brew install openblas From cdd4adbb65185e4ecf70ceb12b32c6f4d27ba055 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 22:19:49 -0800 Subject: [PATCH 30/51] executable path --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d9308e1a..b48270aea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,8 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep LC_RPATH - install_name_tool -add_rpath /usr/local/lib/gcc/12 + cd /usr/local/lib/gcc/12 + install_name_tool -add_rpath @executable_path/. libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From 8c9f48d6aea581407cd509eb31bc80f4571aedf5 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 22:38:56 -0800 Subject: [PATCH 31/51] Small fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b48270aea..536a2b454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep LC_RPATH + otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib cd /usr/local/lib/gcc/12 install_name_tool -add_rpath @executable_path/. libquadmath.0.dylib brew install open-mpi From 50c882901251c28fb5adc000a4d4081070709ac3 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 23:10:15 -0800 Subject: [PATCH 32/51] Test --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 536a2b454..ff61aa2f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,8 @@ jobs: ls /usr/local/lib/gcc/12 otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib cd /usr/local/lib/gcc/12 - install_name_tool -add_rpath @executable_path/. libquadmath.0.dylib + install_name_tool -add_rpath . libquadmath.0.dylib + otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib brew install open-mpi brew install openblas brew install lapack From dbc23c71f21a26badd3cd300d9a517a00fb62ba0 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 23:25:39 -0800 Subject: [PATCH 33/51] rpath test --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff61aa2f2..6965e5e20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,8 +55,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib - cd /usr/local/lib/gcc/12 - install_name_tool -add_rpath . libquadmath.0.dylib + install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib brew install open-mpi brew install openblas From 405721f62d595bc98855e76e177c088884a78f51 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Tue, 3 Jan 2023 23:32:26 -0800 Subject: [PATCH 34/51] Minor fix --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6965e5e20..234a968fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib + cd /usr/local/lib/gcc/12 install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib brew install open-mpi From e096f8adfa91b17fb04b89d2b4d3ad59c0c1782f Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Thu, 5 Jan 2023 15:12:45 -0800 Subject: [PATCH 35/51] More debugging output --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 234a968fd..e0cbc2185 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,9 +54,11 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 + echo "otool for libquadmath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib cd /usr/local/lib/gcc/12 install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib + echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib brew install open-mpi brew install openblas From b3228c08fc247579aa8a5ce9799f9d7ee8f95d59 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Thu, 5 Jan 2023 15:37:45 -0800 Subject: [PATCH 36/51] Small fix --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0cbc2185..6f8661413 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,8 +54,6 @@ jobs: uname -a gcc --version ls /usr/local/lib/gcc/12 - echo "otool for libquadmath" - otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib cd /usr/local/lib/gcc/12 install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" From 486a9ec2e6bbc3feb0fe993a5e8299e700886883 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 11:58:27 -0800 Subject: [PATCH 37/51] Isolate otool output field after rpath addition: LC_RPATH --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f8661413..ac72d5240 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: cd /usr/local/lib/gcc/12 install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" - otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib + otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi brew install openblas brew install lapack From 0022f71230740a7a83ba27c2047106242f819d06 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 13:25:57 -0800 Subject: [PATCH 38/51] Remove default rpath --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac72d5240..b3e75dd46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 + install_name_tool -delete_rpath LC_RPATH libquadmath.0.dylib install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH From b0a914dd8a0995bc96e709d8146fa1b0e994d977 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 14:18:48 -0800 Subject: [PATCH 39/51] Restore rpath change --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3e75dd46..ac72d5240 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,6 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 - install_name_tool -delete_rpath LC_RPATH libquadmath.0.dylib install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH From 39bf75df3510da5096ac21fe10d7646c826a27ed Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 14:36:01 -0800 Subject: [PATCH 40/51] Small fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac72d5240..08c8e3654 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Install Linux dependencies run: | - sudo apt-get install libmpich-dev libblas-dev liblapack-dev libscalapack-mpi-dev libhdf5-serial-dev + sudo apt-get install --fix-missing libmpich-dev libblas-dev liblapack-dev libscalapack-mpi-dev libhdf5-serial-dev - name: Check out libROM uses: actions/checkout@v2 - uses: ./.github/workflows/checkout_repo From 62a8ee23743f4e78480c9414fe1534bd137f4f30 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 14:38:24 -0800 Subject: [PATCH 41/51] Small fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08c8e3654..ac72d5240 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Install Linux dependencies run: | - sudo apt-get install --fix-missing libmpich-dev libblas-dev liblapack-dev libscalapack-mpi-dev libhdf5-serial-dev + sudo apt-get install libmpich-dev libblas-dev liblapack-dev libscalapack-mpi-dev libhdf5-serial-dev - name: Check out libROM uses: actions/checkout@v2 - uses: ./.github/workflows/checkout_repo From 9523001715f2065cf6da67bfbb1c631d89865861 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 14:54:32 -0800 Subject: [PATCH 42/51] apt-update --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac72d5240..c79a2b34a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: - name: Install Linux dependencies run: | + sudo apt update sudo apt-get install libmpich-dev libblas-dev liblapack-dev libscalapack-mpi-dev libhdf5-serial-dev - name: Check out libROM uses: actions/checkout@v2 From 58bc29451e4c5a2f5b519ef75989e6550e514e2c Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 16:29:39 -0800 Subject: [PATCH 43/51] Delete LC_RPATH --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c79a2b34a..194cf2c2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 + install_name_tool -delete_rpath LC_RPATH libquadmath.0.dylib install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH From 395265b4852108ba96102bffe8bd1d5fc515f307 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Fri, 6 Jan 2023 16:54:18 -0800 Subject: [PATCH 44/51] Specify @loader_path --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 194cf2c2f..984ab6b36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: gcc --version ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 - install_name_tool -delete_rpath LC_RPATH libquadmath.0.dylib + install_name_tool -delete_rpath @loader_path libquadmath.0.dylib install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH From 9dc37747d7af74785ce563e4e683a5e04c52dab3 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Sat, 7 Jan 2023 19:31:23 -0800 Subject: [PATCH 45/51] List /usr/local/lib/gcc/12/ contents and attempt rpath change command --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 984ab6b36..82e9c5f0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,10 +54,10 @@ jobs: run: | uname -a gcc --version + echo "Listing contents of /usr/local/lib/gcc/12" ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 - install_name_tool -delete_rpath @loader_path libquadmath.0.dylib - install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib + install_name_tool -rpath @loader_path /usr/local/lib/gcc12 echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi From 65c600743a1f841ef259e9c1b49c4ada896d7b4b Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Sun, 8 Jan 2023 13:34:29 -0800 Subject: [PATCH 46/51] Restore delete/add rpath --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82e9c5f0f..9cedbf103 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,8 @@ jobs: echo "Listing contents of /usr/local/lib/gcc/12" ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 - install_name_tool -rpath @loader_path /usr/local/lib/gcc12 + install_name_tool -delete_rpath @loader_path + install_name_tool -add_rpath /usr/local/lib/gcc/12/ echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi From ce4ac038471d67fd01894e1cdb47e09b68d35c2a Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Sun, 8 Jan 2023 22:53:43 -0800 Subject: [PATCH 47/51] Small fix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cedbf103..837a863f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,8 +57,8 @@ jobs: echo "Listing contents of /usr/local/lib/gcc/12" ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 - install_name_tool -delete_rpath @loader_path - install_name_tool -add_rpath /usr/local/lib/gcc/12/ + install_name_tool -delete_rpath @loader_path libquadmath.0.dylib + install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi From 9c500fd1108e311391028072ac49970a58760f47 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Sun, 8 Jan 2023 23:01:36 -0800 Subject: [PATCH 48/51] Add GITHUB_WORKSPACE to rpath --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 837a863f5..9b7fa20ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 install_name_tool -delete_rpath @loader_path libquadmath.0.dylib - install_name_tool -add_rpath /usr/local/lib/gcc/12 libquadmath.0.dylib + install_name_tool -add_rpath /usr/local/lib/gcc/12 ${GITHUB_WORKSPACE}/build/examples/misc/combine_samples echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi From 5686ac132d8fd0346a4ab6c54dcd25141f989cdb Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Sun, 8 Jan 2023 23:32:14 -0800 Subject: [PATCH 49/51] Check architecture --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b7fa20ea..633f2e7df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,8 +57,8 @@ jobs: echo "Listing contents of /usr/local/lib/gcc/12" ls /usr/local/lib/gcc/12 cd /usr/local/lib/gcc/12 - install_name_tool -delete_rpath @loader_path libquadmath.0.dylib - install_name_tool -add_rpath /usr/local/lib/gcc/12 ${GITHUB_WORKSPACE}/build/examples/misc/combine_samples + echo "Architecture that libquadmath.0.dylib is compiled for: " + file /usr/local/lib/gcc/12/libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH brew install open-mpi From 9289ab34bf69e7e8d149261a85f1746060456e69 Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Sun, 8 Jan 2023 23:45:38 -0800 Subject: [PATCH 50/51] Small fix --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 633f2e7df..f163de3c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,8 @@ jobs: file /usr/local/lib/gcc/12/libquadmath.0.dylib echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH + mkdir -p ${GITHUB_WORKSPACE}/build/lib + cp /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/build/lib brew install open-mpi brew install openblas brew install lapack @@ -72,7 +74,7 @@ jobs: - name: Build libROM run: | export FC=/usr/local/bin/gfortran-12 - mkdir ${GITHUB_WORKSPACE}/build + mkdir -p ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build cmake -DCMAKE_BUILD_TYPE=Debug .. make From a133a1c5ee28edd7940edd89bf86c32fa375b62d Mon Sep 17 00:00:00 2001 From: pvempati1 Date: Mon, 9 Jan 2023 17:10:29 -0800 Subject: [PATCH 51/51] Remove inapplicable comment --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f163de3c6..3fad2c2f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,6 @@ jobs: cd /usr/local/lib/gcc/12 echo "Architecture that libquadmath.0.dylib is compiled for: " file /usr/local/lib/gcc/12/libquadmath.0.dylib - echo "otool for libquadmath after adding rpath" otool -l /usr/local/lib/gcc/12/libquadmath.0.dylib | grep -A2 LC_RPATH mkdir -p ${GITHUB_WORKSPACE}/build/lib cp /usr/local/lib/gcc/12/libquadmath.0.dylib ${GITHUB_WORKSPACE}/build/lib