problem in raunnig abini 7.4.3  [SOLVED]

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
nouria.aouail
Posts: 8
Joined: Thu May 16, 2013 2:15 pm

problem in raunnig abini 7.4.3

Post by nouria.aouail » Sun Sep 14, 2014 2:28 pm

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 "

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: problem in raunnig abini 7.4.3  [SOLVED]

Post by jbeuken » Sun Sep 14, 2014 8:05 pm

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
------
Jean-Michel Beuken
Computer Scientist

nouria.aouail
Posts: 8
Joined: Thu May 16, 2013 2:15 pm

Re: problem in raunnig abini 7.4.3

Post by nouria.aouail » Mon Sep 15, 2014 11:22 am

abinit < Si.files >
bash: Erreur de syntaxe près du symbole inattendu « newline »

nouria.aouail
Posts: 8
Joined: Thu May 16, 2013 2:15 pm

Re: problem in raunnig abini 7.4.3

Post by nouria.aouail » Mon Sep 15, 2014 11:23 am

whith ununtu 12.04

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: problem in raunnig abini 7.4.3

Post by Jordan » Mon Sep 15, 2014 3:39 pm

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

Locked