Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2016-08-29 08:54:13

filjan
Member
From: Poland, Cracow
Registered: 2016-07-11
Posts: 66

file not found "config.txt" after as_run command

Hi!

When I try run C_A parallel version, by as_run command("as_run --test any_test_file.export"), I get error:

Error wrote:

<F>_FILE_NOT_FOUND file not found : /usr/lib/codeaster/PAR12.4/config.txt

---------------------------------------------------------------------------------
                                            cpu     system    cpu+sys    elapsed
---------------------------------------------------------------------------------
   Total                                   0.02       0.01       0.03       0.03
---------------------------------------------------------------------------------

as_run 1.13.1

------------------------------------------------------------
--- DIAGNOSTIC JOB : <F>_FILE_NOT_FOUND
------------------------------------------------------------

I'm using Code_aster v.12.5
Folder PAR12.4 indeed don't exist in the  /usr/lib/codeaster/ path.
config.txt file exists in the /opt/aster/PAR12.4/share/aster.

I'll be grateful for any hints .

Regards
Filjan

Offline

#2 2016-08-30 12:33:33

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,148

Re: file not found "config.txt" after as_run command

Hello,

You probably have several as_run installations...

If you're using an installation from /opt/aster, remove/uninstall the existing one in /usr/bin + /usr/lib/codeaster to avoid confusion.

Or at least call explicitly /opt/aster/bin/as_run.

MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#3 2016-08-30 13:50:48

filjan
Member
From: Poland, Cracow
Registered: 2016-07-11
Posts: 66

Re: file not found "config.txt" after as_run command

'Merci'  very much!

Hints were very useful: )

Offline

#4 2017-04-03 17:04:54

smasfara
Member
Registered: 2017-04-01
Posts: 4

Re: file not found "config.txt" after as_run command

Hi/Bonjour,

I have the same problem, running /opt/aster/bin/as_run forma01a.export leads to:

/opt/aster/lib/python2.7/site-packages/asrun/run.py:247: DeprecationWarning: 'editeur' : the argument '@D' is deprecated. Remove it from your configuration file.
  self._check_config()
<I> UNEXPECTED_VALUE Mode inconnu (''), on utilise 'interactif' à la place
<F>_FILE_NOT_FOUND fichier non trouvé : config.txt
 ---------------------------------------------------------------------------------
                                            cpu    système    cpu+sys     écoulé
 ---------------------------------------------------------------------------------
   Total                                   0.03       0.02       0.05       0.06
 ---------------------------------------------------------------------------------

as_run 1.13.9

------------------------------------------------------------
--- DIAGNOSTIC JOB : <F>_FILE_NOT_FOUND
------------------------------------------------------------


EXIT_CODE=4

I had this problem with the ubuntu package. So I installed codeaster from the sources, and I got the same result.
I didn't find infos on this config.txt file.
Does someone has an idea?

Offline

#5 2018-06-13 07:34:45

FEcoder123
Member
Registered: 2018-05-20
Posts: 6

Re: file not found "config.txt" after as_run command

I got this same error when I used as_run and called the .astk file rather than the export (easy typo when using tab completion).

as_run job.astk                              :-(
as_run job.export                          :-)

Offline

Board footer