-
Notifications
You must be signed in to change notification settings - Fork 25
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
Comments
Hi Helena, For the Makefile-build you need to translate the bash In general, talk to the person who is managing the cluster you are using, they should know all these things. Cheers, |
Hello Jon (maybe you prefer me to call you by your name)
Thank you for your nice answer! I have an account on Jacek's cluster and I can't change the shell, I don't have permision (the 3rd option you gave me is not possible). I can't install any packages neither since I don't have the root password, therefore it is being quite challenging for me to install grasp2018 in this cluster. Luckily CMake is already intalled in the cluster, I just checked it (cmake version 3.13.4) but I don't know how to use this "CMake build" which you said should set all environment variables automatically for me. Can you tell me how could I use it?
I checked the manual but I didn't find any information regarding the CMake.
If this doesn't work I will try to change the export commands on the "make_environment_gfortran_UBC" to setenv and them follow the instructions on the manual:
source ./make_environment_gfortran_UBC
cd src
make clean
make
Is this right or should I change/do something differently?
I don't exactly understand what you mean with the sentence: " make sure you have defined FCand FFLAGSbefore invoking the configure script to help cmake determine which compiler you want to use. "
I am talking with Jacek regularly but he told me this week he is quite busy so I am tryng bymyself to solve these problems.
Thank so much once more for your time and help.
Waiting for your answer.
Helena
…________________________________
De: Jon Grumer <notifications@github.com>
Enviado: lunes, 11 de enero de 2021 11:05
Para: compas/grasp <grasp@noreply.github.com>
Cc: hgesc <helenagarciaescu@hotmail.com>; Author <author@noreply.github.com>
Asunto: Re: [compas/grasp] Installation of the package under csh (#57)
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. I 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
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#57 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASNQ54WT7IVWR7LPNYVGJQLSZLEM5ANCNFSM4V5JYIXQ>.
|
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, |
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
The text was updated successfully, but these errors were encountered: