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

Installation of the package under csh #57

Open
hgesc opened this issue Jan 11, 2021 · 3 comments
Open

Installation of the package under csh #57

hgesc opened this issue Jan 11, 2021 · 3 comments

Comments

@hgesc
Copy link

hgesc commented Jan 11, 2021

I want to install grasp2018 there but in a csh shell instead of bash shell. Therefore I can't follow the manual and use the commands

"source ./make_environment_gfortran", ...

and I do not know how could I install GRASP with this csh shell.

Do you know how could I intall GRASP under csh shell?

Thank you in advanced.

Helena

@jongrumer
Copy link
Member

Hi Helena,

For the Makefile-build you need to translate the bash export commands in make_environment_gfortran to setenv - as I wrote to you in the email I just sent - but you can also try the CMake build which should set all environment variables automatically for you - then you need to install CMake on your cluster if you haven't already. If you encounter any problems, make sure you have defined FC and FFLAGS before invoking the configure script to help cmake determine which compiler you want to use. Third option is to switch shell to bash by just typing bash in the terminal...might be simplest.

In general, talk to the person who is managing the cluster you are using, they should know all these things.

Cheers,
Jon

@hgesc
Copy link
Author

hgesc commented Jan 11, 2021 via email

@jongrumer
Copy link
Member

So, actually, in response to setting the FC and FFLAGS, I would recommend that you learn basic bash (csh is basically the same) before doing anything more, so you get a feel for how variables are defined and used - just watch an introductory tutorial on youtube or go through some beginners tutorial in text form (just google something).

For CMake instructions, they are in the main readme --> https://github.com/compas/grasp

Yes, the makefile command sequence you listed seems right for the GRASP CPC 2018 version - it's just a matter of running the makefile in the src directory really, just that the environment variables/flags in that Makefile need to be defined in advance - hence the source make_env...Hmm, makes me wonder, which GRASP version are you using, the one from CPC or the most recent version from here? The latter includes the CMake installation option, while the former doesn't.

Cheers,
Jon

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

2 participants