Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: DOS command windows: "compileTELEMAC.py" not act

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8553

  • thai30a
  • thai30a's Avatar
I setup Python successfully. (python.txt)
I setup G95 successfully. (g95.txt)
I setup SVN successfully. And download all codes in C:\opentelemac\v6p2 (svn.png)
I edit Environment Variables (ev.png)
I run "runcode.py" successfully. (runcode.txt)
I also edit file systel.cfg (systel.cfg.txt)
But I cannot run on DOS command windows: compileTELEMAC.py or python compileTELEMAC.py (compileTELEMAC.txt)
Please help me.
Thank you very much!
My laptop:
windows 7 -32bit
Attachments:
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8556

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Hi,

I don't understand why there is no error message.
You have at least errors in your systel.cfg file. You will have to change cmd_obj, cmd_lib and cmd_exe and to make slight modification to mods_all and sfx_obj.

In your file, you indicate that you compile it with intel fortran.

You can re-edit the systel.cis-windows.cfg (given in config). You will have to use the windows g95 scalar block.

I'm not sure it will solve your problem but you definitely must correct that.
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8560

  • thai30a
  • thai30a's Avatar
You, abernard
You can tell me details or sample file, do you?
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8561

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Here it is (copied from systel.cis-windows.cfg):
# _____ ________________________________________
# ____/ windows g95 scalar /_______________________________________/
[wing95s]
#
root: C:\opentelemac\trunk
version: v6p2
language: 2
modules: update system
options:
#
cmd_obj: g95 -c -fendian=big -ffixed-line-length-132 <mods> <incs> <f95name>
cmd_lib: ar cru <libname> <objs>
cmd_exe: g95 -fendian=big -std=f95 -v -lm -o <exename> <objs> <libs>
#
mods_all: -I <config>
#
sfx_zip: .zip
sfx_lib: .lib
sfx_obj: .o
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
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8562

  • thai30a
  • thai30a's Avatar
It still so.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\thai30a>compileTELEMAC.py

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

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8563

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
What is strange is that you don't have any error message.

What do return >PATH, >SYSTELCFG, >config.py ?
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8564

  • thai30a
  • thai30a's Avatar
user variables:
PATH: C:\opentelemac\v6p2\pytel;C:\g95\bin
SYSTELCFG: C:\opentelemac\v6p2\config\systel.cfg
===========
SYSTEM VARIABLES:
Path: C:\Python27;C:\cygwin;C:\cygwin\usr\local\doc\g95
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8565

  • thai30a
  • thai30a's Avatar
all *.py when I type on DOS command all run, but compileTELEMAC.py not run?
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8566

  • abernard
  • abernard's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 210
  • Thank you received: 45
Maybe you will need a python expert (I am not).

I assume that telemac2d.py doesn't run (if Telemac is not compiled) ?

Are you sure that the source have been correctly downloaded (especially pytel/compileTELEMAC.py)
The administrator has disabled public write access.

DOS command windows: "compileTELEMAC.py" not act 11 years 6 months ago #8567

  • thai30a
  • thai30a's Avatar
I download C:\opentelemac\v6p2\ bay SVN softwave.
and I run:
=============
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\thai30a>telemac2d.py


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


The name of the module to run and one CAS file at least are required

Usage: runcode.py [options]
use -h for more help.

Options:
-h, --help show this help message and exit
-c CONFIGNAME, --configname=CONFIGNAME
specify configuration name, default is randomly found
in the configuration file
-f CONFIGFILE, --configfile=CONFIGFILE
specify configuration file, default is systel.cfg
-r ROOTDIR, --rootdir=ROOTDIR
specify the root, default is taken from config file
-v VERSION, --version=VERSION
specify the version number, default is taken from
config file
-s, --sortiefile specify whether there is a sortie file, default is no
-t, --tmpdirectory specify whether the temporary directory is removed,
default is yes
-x, --compileonly specify whether to only create an executable but not
run, default is no
-w WDIR, --workdirectory=WDIR
specify whether to re-run within a defined
subdirectory
--jobname=JOBNAME specify a jobname for HPC queue tracking
--email=EMAIL specify an e-mail adress to warn when HPC job is
finished
--hosts=HOSTS specify the list of hosts available for parallel mode,
';' delimited
--ncsize=NCSIZE the number of processors forced in parallel mode
--nctile=NCTILE the number of core per node. ncsize/nctile is the
number of compute nodes
--split will only do the trace (and the split in parallel) if
option there
--merge will only do the output copying (and recollection in
parallel) if option there
--run will only run the simulation if option there

C:\Users\thai30a>
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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