AtChem / AtChem2

Atmospheric chemistry box-model for the MCM
MIT License
58 stars 23 forks source link

Issue with cvode #462

Closed Jkhadgi closed 2 years ago

Jkhadgi commented 2 years ago

Tried to install the cvode from install directory to the library directory

image

I tried to add the path for for the LAPACK in install_cvode.sh

image

But, it generated same error as above Shall I try to install manually cvode from source??

rs028 commented 2 years ago

Hi @Jkhadgi do you have all the requirements installed (gfortran, cmake, make)? Can you try with the development version (https://github.com/AtChem/AtChem2/archive/refs/heads/master.zip) instead of the stable release?

Jkhadgi commented 2 years ago

I actually replaced the cmake with ccmake in line 72 in install_cvode.sh and it worked!!!

rs028 commented 2 years ago

@spco what do you think about that?

spco commented 2 years ago

Hi all. I'm not certain as it stands, but could I ask you to (a) tell me the version numbers of cmake and ccmake you're using; (b) tell me the OS you're using; and (c) try running with cmake and using the explicit path rather than relying on tilde expansion. So that would be something like ./tools/install/install_cvode.sh /Users/jkhadgi/library or ./tools/install/install_cvode.sh /home/jkhadgi/library depending on your OS.

Some versions of cmake don't expand the tilde, so it might be that. Thanks!

Jkhadgi commented 2 years ago

@spco Intially I used snap to install the cmake which I think had the problem. I tried uninstalling and installing the cmake via cmake-curses-gui and it somehow solve the problem. Thanks!!

spco commented 2 years ago

Great! Glad to hear. Thanks for the update