...
In the tutorial below you will have to replace everything that is in cursive red with your own personal names. The rest is just copy-paste.
Execute the following in the same terminal/window!
1) Create directory
First you should come up with a name for your executable. To make the rest of this tutorial easier set the variable 'My_Abs' to the name of your choice:
My_Abs=name_of_my_executable
Then create yourself a directory under your home(!) (so it gets backup up) in which you want to create the executable.
...
git clone full_Abs_directory_of_sourcecode_to_clone/gem
Or you can clone my latest verison with:
git clone ~winger/gem/v_5.1.1/Abs/UQAM_latest/gem
If you get something like the following your cloning was successful:
Volet |
---|
Cloning into 'gem'... done. Updating files: 100% (2367/2367), done. |
b) Uncommited changes
Only ifthere were uncommited changes to the code you would like to get as well you will have to copy the modified files by hand. This is not elegant at all, but if you want to make sure you got all modifications you can also remove your source code and then copy the source code you want by hand. For example:
...
mkdir -p ${work_space}/${My_Abs}/build
mkdir -p ${work_space}/${My_Abs}/work
ln -s ${work_space}/${My_Abs}/build
ln -s ${work_space}/${My_Abs}/work
d) Check directory content
Execute a simple 'ls' command to check if your directory content looks okay:
ls -al
If the list you are getting looks like the following your initial setup looks fine:
Volet |
---|
drwxr-xr-x. ... 25600 Jul 17 14:20 . |
3) Create the executable
a) Acquire compiler
(Only needed once per window/terminal.)!
You can used the same alias used to acquire the compiler to run GEM:
module add intel/2021.2.0 fftw-intel-2021511
b) If you are not already in it, go into the 'gem' directory of your abs-directory:
...