candi icon indicating copy to clipboard operation
candi copied to clipboard

Occurring errors in building latest DEAL_II (9.3.1)

Open sungho91 opened this issue 3 years ago • 7 comments

To install the latest ASPECT which is a thermo-mechanical code, I found it requires the latest DEAL.II (9.3.x).

So, I tried to install the latest DEAL.II. I have been experienced installing ver 9.2.x of DEAL.II and previous version of ASPECT.

When I installed the previous versions, everything was okay.

However, I am struggling with ver. 9.3.1 of DEAL.II.

The main concern is building symengine 0.7.0.

I think it is newly added in ver. 9.3.1 of DEAL.II because I haven't seen it in ver 9.2.x of DEAL.II.

My terminal shows the massage; "Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIRS)"

So, I installed gmp-6.2.1 and exported the directories of the library and include as GMP_LIB=/installed/lib and GMP_INC=/installed/inc. Also, I exported again the directories of the library and include as GMP_LIBRARIES=/installed/lib and GMP_INCLUDE_DIRS=/installed/inc due to the message in terminal

However, I got the same error message.

Any comments are helpful for me.

error_building_symengine s

Best regard

Sungho

sungho91 avatar Sep 17 '21 01:09 sungho91

Dear Sungho. Thanks for reporting, I got the same issue this week. Can you try building without symengine? You can disable it in the candi.cfg

koecher avatar Sep 17 '21 08:09 koecher

@gfcas can you take a look on that issue?

koecher avatar Sep 17 '21 08:09 koecher

I solved the issue, candi trys to find GMP in the root directory. So, GMP should be installed through yum or apt-get.

sungho91 avatar Sep 17 '21 08:09 sungho91

anyhow, we should fix this by installation notes and/or giving a gmp package with correct pathes.

koecher avatar Sep 17 '21 09:09 koecher

@gfcas can you take a look on that issue?

When first adding symengine to the package list we extended the list of required packages for Ubuntu, see #198. In addition, in #238 the requirment of gmp was added to the list in the Debian platform file. I assume a suitable package can be installed by homebrew, however, I have no idea of mac ...

ghost avatar Sep 20 '21 10:09 ghost

I'm still checking our platforms for the gmp issue. Please let this issue open.

koecher avatar Sep 24 '21 07:09 koecher

Hi is there any update on this issue? I have faced the same issue, and for me, it is impossible to install GMP on the root directory since I'm using it on a HPC cluster. I'd appreciate any suggestions in this case. Thanks

jhchung1 avatar Jan 23 '23 04:01 jhchung1