Page 1 of 1

problem in raunnig abini 7.4.3

Posted: Sun Sep 14, 2014 2:28 pm
by nouria.aouail
Hi,
when i wante to run abinit 7.4.3 i write "abinit < tbase1_x.files >"
this message is posted
Syntax error near the unexpected symbol " newline "

Re: problem in raunnig abini 7.4.3  [SOLVED]

Posted: Sun Sep 14, 2014 8:05 pm
by jbeuken
Hi,

on which platform ?

I suppose you try the first lesson in tutorials :

http://www.abinit.org/documentation/helpfiles/for-v7.4/tutorial/lesson_base1.html


please, read the instructions carefully…

concerning the command to run abinit, the correct syntax is :

Code: Select all

abinit < tbase1_x.files >& log    with x=1 to 5  ( tbase1_1.files, tbase1_2.files,…) 


jmb

Re: problem in raunnig abini 7.4.3

Posted: Mon Sep 15, 2014 11:22 am
by nouria.aouail
abinit < Si.files >
bash: Erreur de syntaxe près du symbole inattendu « newline »

Re: problem in raunnig abini 7.4.3

Posted: Mon Sep 15, 2014 11:23 am
by nouria.aouail
whith ununtu 12.04

Re: problem in raunnig abini 7.4.3

Posted: Mon Sep 15, 2014 3:39 pm
by Jordan
This is a shell error.

Using the symbol "<" means read the standard input (usually from the keyboard) from a file which is, in your case, Si.files.
The next symbol ">" means send the standard ouput (usually to the screen) to a file, which is in jmb's example log. If you don't specify any file name after ">" the shell won't know what to do and produce the error.
So to solve your problem, put a file name after ">" (usually call log)

If you don't want to save what is printed on screen, just run "abinit < Si.files"

Jordan