Welcome, Guest
Username: Password: Remember me

TOPIC: Installation - wont compile

Installation - wont compile 11 years 6 months ago #8637

  • dsc1r12
  • dsc1r12's Avatar
I set the SYSTELCFG to <YOUR PATH>\config\systel.cfg, then tried choosing wintel and get the following when compiling:


C:\>python compileTELEMAC.py -c user-wintel
python: can't open file 'compileTELEMAC.py': [Errno 2] No such file or directory


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

Installation - wont compile 11 years 6 months ago #8638

  • dsc1r12
  • dsc1r12's Avatar
For some reason its not picking up the compileTELEMAC.py file that is located in the pytel folder, even though the pytel folder is in the PATH.
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8639

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
You can overcome this by providing the path to the pytel folder in the command. I use the following command:
c:\opentelemac\v6p2\pytel\compileTELEMAC.py

Costas
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8640

  • dsc1r12
  • dsc1r12's Avatar
If I do that it still comes up with the following message:

C:\>opentelemac\v6p2r2\pytel\compileTELEMAC.py


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


Not able to get to the configuration file: c:\opentelemac\v6p2\config\systel.cfg



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

Installation - wont compile 11 years 6 months ago #8641

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
This PATH is the one I use in my PC B) (c:\opentelemac\v6p2\config\systel.cfg) Replace it with the one corresponding to yours!

Costas
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8642

  • dsc1r12
  • dsc1r12's Avatar
I am confused, The pytel folder is where my compileTELEMAC.py file is located, and teh config folder is where my sytel.cfg file is located. Am I correct in saying teh PATH I need is to the pytel folder?
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8643

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
You run the compileTELEMAC.py from C:\>opentelemac\v6p2r2

dsc1r12 wrote:
If I do that it still comes up with the following message:

C:\>opentelemac\v6p2r2\pytel\compileTELEMAC.py

But the routine is looking for systel.cfg in C:\>opentelemac\v6p2

dsc1r12 wrote:
Not able to get to the configuration file: c:\opentelemac\v6p2\config\systel.cfg

So there is clearly something wrong. Check the PATH environmental variable, or anywhere else you define a path to systel.cfg and make sure it is correct!
The administrator has disabled public write access.
The following user(s) said Thank You: dsc1r12

Installation - wont compile 11 years 6 months ago #8644

  • dsc1r12
  • dsc1r12's Avatar
It seems that the reason it cannot find it is that it by inspection of the error message:

Not able to get to the configuration file: c:\opentelemac\v6p2\config\systel.cfg

It is looking in a folder called v6p2, NOT v6p2r2, which is what the folder name is called and is what the PATH is defined as. Why would it be looking for a folder called v6p2?
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8645

  • dsc1r12
  • dsc1r12's Avatar
Ok, I have changed the cmd input to read c:\opentelemac\v6p2r2\config\systel.cfg, which now seems to work (in a way!) because now I get the message...


C:\>opentelemac\v6p2r2\pytel\compileTELEMAC.py


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

... parsing configuration file: c:\opentelemac\v6p2r2\config\systel.cfg


Scanning the source code for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: wintel
+> root: C:\opentelemac\v6p2r2\
+> version: v6p2r2
+> modules: clean system

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



My work is done



C:\>

This message appears within seconds of pressing enter, so cannot be compiled correctly, do you know why this may be?
The administrator has disabled public write access.

Installation - wont compile 11 years 6 months ago #8646

  • dsc1r12
  • dsc1r12's Avatar
I have also tried changing the modules to update system in the systel file, as recommended on the Telemac installation guide, but I get the same message.
The administrator has disabled public write access.
Moderators: borisb

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