Hi Voileta,
Sorry for my late response.
I use opensuse linux. In my case I have not set the path or the SYSTELCFG environment.
I use the following command to compile telemac
cd /home/user1/telemac/v6p2r1/bin
python ../pytel/compileTELEMAC.py -c susgfortrans -f ../config/systel.cis-opensuse.cfg
and to run a simulation case
python /home/user1/telemac/v6p2r1/pytel/runcode.py telemac2d -s t2d_bumpflu_v1p0.cas -f /home/user1/telemac/v6p2r1/config/systel.cis-opensuse.cfg -c susgfortrans
I suppose in ubuntu you will have to use the configuration file systel.cis-ubuntu.cfg and the configuration ubugfortrans for serial compilation and ubugfopenmpi for parallel compilation.
With best regards,
Gourish