Welcome, Guest
Username: Password: Remember me

TOPIC: Installation - wont compile

Installation - wont compile 11 years 6 months ago #8620

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
It seems that the PATH to the config subdirectory is not set correctly. If you have changed the PATH variable recently, then close the cmd window and open a new one.

Costas
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8623

  • dsc1r12
  • dsc1r12's Avatar
I have double checked and you are right, the path wasn't quite right, I have changed it so it is correct, now I get this:


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\dsc1r12>cd..

C:\Users>cd..

C:\>compileTELEMAC.py


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Not able to get to the configuration file: C:\opentelemac\v6p2r2\config\systel.c
is-windows7.cfg; C:\opentelemac\v6p2r2\config


C:\>
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8625

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Is the name of the directory v6p2r2 OR v6p2r1?
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8626

  • dsc1r12
  • dsc1r12's Avatar
I have changed it to v6p2r2
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8627

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Have you opened a new cmd window?
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8629

  • dsc1r12
  • dsc1r12's Avatar
Yes I have, this is odd because I have checked and the systel.cis-windows7.cfg file is definitely in the config folder and the PATH is set up for the config folder also, so I don't understand why it is not able to get to the file.
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8630

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Follow these instructions again carefully. These are taken from the installation procedure page:
On MS Windows operating systems, you need to open your Control Panel's System windows, access your Environment Variables from the Advanced tab and then click New/Edit in the top "user" part for the SYSTELCFG variable to add:
c:\opentelemac\v6p2\config\systel.cis-winxp.cfg
Again, please note that SYSTELCFG only supports one configuration file, altough one configuration file can include multiple configurations.

Important note

For the installation procedure with Perl, the environment variable SYSTELCFG sets the directory where TELEMAC will find the file "systel.ini". For the installation procedure with Python, the environment variable SYSTELCFG sets the configuration file and its path, without assuming that the name of the file would be "systel.ini". The name of the configuration can be set by the user and will be here referenced by "systel.cfg".
The execution of the script 'compileTELEMAC.py' can be further taylored with a number of arguments taken from the execution command line. These are:

-c user-configuration-name
where 'user-configuration-name' should be one of the names listed in the 'configs' key. This allows the compilation of the TELEMAC system to be specific to only one configuration.

-f configuration-filewhere 'configuration-file' is the name (with its path). This option therefore replace the the use of the environmental variables SYSTELCFG.

Both the configuration file and the name of the configuration within defines the properties of the version of TELEMAC for your computer. Under MS Windows operating systems, the compilation of the entire TELEMAC system for parallel use can therefore also be achieved by typing the following in a terminal or DOS console:

$>,\> python compileTELEMAC.py -c wintelscal -f c:\opentelemac\v6p2\config\systel-hrw.cfg

Costas
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8632

  • dsc1r12
  • dsc1r12's Avatar
I changed the SYSTELCFG to c:\opentelemac\v6p2\config\systel.cis-winxp.cfg, although there is no file called that in my config folder, the closest file is called systel.cis-windows7.cfg.

I don't really understand the second part, what am I supposed to type into the cmd to compile Telemac if a I am to install the scalar version, not parallel?
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8634

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
1. Set SYSTELCFG to <YOUR PATH>\config\systel.cfg
2. Create a file systel.cfg with your desired configuration that you can copy&paste from the configurations already there.
3. Type
python compileTELEMAC.py -f <YOUR PATH>\config\systel.cfg

This is what I use to compile with ifort in scalar:
# _____ ____________________________________
# ____/ windows intel scalar /___________________________________/
[wintels64]
#
root: c:\opentelemac\v6p2
version: v6p2
language: 2
modules: clean system
options:
#
cmd_obj: ifort.exe /c /Ot /iface:cref /iface:nomixed_str_len_arg /nologo /names:uppercase /convert:big_endian /extend_source:132 <mods> <incs> <f95name>
cmd_lib: xilib.exe /nologo /out:<libname> <objs>
cmd_exe: xilink.exe /nologo /subsystem:console /stack:536870912 /out:<exename> <objs> <libs>
#
mods_all: /include:<config>
#
sfx_zip: .zip
sfx_lib: .lib
sfx_obj: .obj
sfx_mod: .mod
sfx_exe: .exe
#
# also possible val_root: <root>/../validation
val_root: <modpath>/validation
val_rank: all
# also possible val_rank: <3 >7 6
#

Make sure you change your folder paths according to your system.

Costas
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8635

  • lsb1@soton.ac.uk
  • lsb1@soton.ac.uk's Avatar
In the cfg file, there are a list of different configurations, the names are arbitrary. The important thing is to choose the one that you have edited, via the -c option. The -f option lets you choose a different cfg file than is defined by the $SYSTELCFG variable.
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.