Hi~!
Initially I tried to install this on Windows, and was quite unsuccessful. I decided to switch to Linux (Ubuntu specifically), so I could try again. However I am running into some issues.
I successfully downloaded Telemac V7p1r0 through a SVN. And next is where I encounter issues. I will give in detail what I have done.
1. I must add to my environment variable PATH. In the guide it says to add the pytel folder, however this is not present in my version (v7p1r0). I assumed you need to create a path to the folder containing compileTELEMAC.py. So I did this below (I added spaces for clarity)
chris@ChrisU:~$ cd TelemacRepos/v7p1r0/scripts/python27
chris@ChrisU:~/TelemacRepos/v7p1r0/scripts/python27$ ls
alter.py compactTELEMAC.py converter.py estel3d.py parsers samplers telemac3d.py
artemis.py compare.sh converters groupFile_medFile_to_BoundaryConditionDataFile.py postel3d.py scan.py tomawac.py
chop.py compileTELEMAC.py diff.py i2s.py runcode.py sisyphe.py translateTELEMAC.py
cis config.py docTELEMAC.py merge.py runKENUE.py stbtel.py utils
ColourMaps config.pyc doxygenTELEMAC.py mtlplots runSELAFIN.py telemac2d.py validateTELEMAC.py
chris@ChrisU:~/TelemacRepos/v7p1r0/scripts/python27$ pwd
/home/chris/TelemacRepos/v7p1r0/scripts/python27
chris@ChrisU:~/TelemacRepos/v7p1r0/scripts/python27$ export PATH=/home/chris/TelemacRepos/v7p1r0/scripts/python27:$PATH
chris@ChrisU:~/TelemacRepos/v7p1r0/scripts/python27$ printenv PATH
/home/chris/TelemacRepos/v7p1r0/scripts/python27:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
2. Next according to the guide, I must create the SYSTELCFG environment variable. So I did this below
chris@ChrisU:~/TelemacRepos/v7p1r0/configs$ ls
systel-all.ini systel.cis-debian.cfg systel.cis-hydra.cfg systel.cis-windows7.cfg systel.edf.ini
systel.cfg systel.cis-doxygen.cfg systel.cis-opensuse.cfg systel.cis-windows.cfg systel.hrw.cfg
systel.cfg~ systel.cis-fedora.cfg systel.cis-ubuntu.cfg systel.edf.cfg
chris@ChrisU:~/TelemacRepos/v7p1r0/configs$ pwd
/home/chris/TelemacRepos/v7p1r0/configs
chris@ChrisU:~/TelemacRepos/v7p1r0/configs$ export SYSTELCFG=/home/chris/TelemacRepos/v7p1r0/configs/systel.cfg
chris@ChrisU:~/TelemacRepos/v7p1r0/configs$ printenv SYSTELCFG
/home/chris/TelemacRepos/v7p1r0/configs/systel.cfg
3. With the following systel.cfg file I customized from the systel.cis-ubuntu.cfg
# _____ _______________________________
# ____/ TELEMAC Project Definitions /______________________________/
#
[Configurations]
configs: serial
#
#
# _____ ___________________________________________________
# ____/ GENERAL /__________________________________________________/
[general]
root: /home/chris/TelemacRepos/v7p1r0/
modules: clean system
#
mods_all: -I <config>
#
sfx_zip: .gztar
sfx_lib: .a
sfx_obj: .o
sfx_mod: .mod
sfx_exe:
#
val_root: <root>/examples
val_rank: all
# also possible val_rank: <3 >7 6
# _____ ____________________________________
# ____/ Ubuntu gfortran scalar /___________________________________/
[serial]
#
brief: scalar mode, Fortran optimisation 3.
TELEMAC will work whether processor is 0 or 1
#
cmd_obj: gfortran-mp-4.9 -c -O3 -fconvert=big-endian -frecord-marker=4 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: gfortran-mp-4.9 -fconvert=big-endian -frecord-marker=4 -v -o <exename> <objs> <libs>
#
#
4. So next I attempt to compile and I get the following
chris@ChrisU:~$ python compileTELEMAC.py
python: can't open file 'compileTELEMAC.py': [Errno 2] No such file or directory
as if I didn't add the appropriate directory to the PATH
5. Then I try to run it from the scripts/python27 directory and get the following
chris@ChrisU:~/TelemacRepos/v7p1r0/scripts/python27$ python compileTELEMAC.py
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_ _ ___ _____
| | | | |__ \ |___ |
_ __ _ _ | |_ | |__ ___ _ __ ) | _/ /
| '_ \ | | | || __|| '_ \ / _ \ | '_ \ / / |_ _|
| |_) || |_| || |_ | | | || (_) || | | | / /_ / /
| .__/ \__, | \__||_| |_| \___/ |_| |_||____| /_/
| | __/ |
|_| |___/
_ _ _____ ___ ___ __
_| || |_ |___ | / _ \ |__ \ /_ |
_ __ ___ __ __ |_ __ _| _/ / | | | | ) | | |
| '__| / _ \\ \ / / _| || |_ |_ _| | | | | / / | |
| | | __/ \ V / _ |_ __ _| / / | |_| | / /_ | |
|_| \___| \_/ (_) |_||_| /_/ \___/ |____| |_|
... parsing configuration file: /home/chris/TelemacRepos/v7p1r0/configs/systel.cfg
_ _
(_) | |
___ ___ _ __ _ __ _ | |
/ __| / _ \| '__|| | / _` || |
\__ \| __/| | | || (_| || |
|___/ \___||_| |_| \__,_||_|
Scanning the source code for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+> configuration: serial
+> scalar mode, Fortran optimisation 3.
| TELEMAC will work whether processor is 0 or 1
+> root: /home/chris/TelemacRepos/v7p1r0/
+> modules: clean system
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling the program SPLITSEL and dependents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "compileTELEMAC.py", line 689, in <module>
createDirectories(p)
File "/home/chris/TelemacRepos/v7p1r0/scripts/python27/utils/files.py", line 163, in createDirectories
mkdir(pr)
OSError: [Errno 13] Permission denied: '/home/chris/TelemacRepos/v7p1r0/builds/serial'
chris@ChrisU:~/TelemacRepos/v7p1r0/scripts/python27$
Please help! I've been attempting to do this for several days total now and I'm stuck. I would very much like to understand where I am going wrong.
Thank you so much!