Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occurring errors in building latest DEAL_II (9.3.1) #262

Open
sungho91 opened this issue Sep 17, 2021 · 7 comments
Open

Occurring errors in building latest DEAL_II (9.3.1) #262

sungho91 opened this issue Sep 17, 2021 · 7 comments

Comments

@sungho91
Copy link

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

@koecher
Copy link
Contributor

koecher commented Sep 17, 2021

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
Copy link
Contributor

koecher commented Sep 17, 2021

@gfcas can you take a look on that issue?

@koecher koecher reopened this Sep 17, 2021
@sungho91
Copy link
Author

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

@koecher
Copy link
Contributor

koecher commented Sep 17, 2021

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

@ghost
Copy link

ghost commented Sep 20, 2021

@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 ...

@koecher koecher reopened this Sep 23, 2021
@koecher
Copy link
Contributor

koecher commented Sep 24, 2021

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

@jhchung1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants