run abinit by script on supercomputer
Posted: Sun Mar 16, 2014 9:20 am
Dear Sirs,
I`m installing Abinit v 7.6.2 on "Lomonosov" supercomputer, in Russia.
Sorry if my question is silly or is asked second time, but I have searched for the answer and haven`t fount satisfactory solution.
So, my problem is how to run Abinit by queue script on our supercomputer.
In all tutorials Abinit`s launch is implemented only this way:
mpirun -n 1 abinit < t1x.files
(and it works in my case, but it isn`t what I want)
As I understand, it redirects input from stdin to t1x.files
The problem is that I have to make Abinit available for users by running script, the script looks somehow like this:
sbatch -n 1 -p gputest impi abinit < t1x.files
But this way it does`t work, the error is
"Give name for formatted input file:
forrtl: severe (24): end-of-file during read, unit 5, file stdin"
The second idea was to use an option of the script, this one:
-i, --input=in - file for batch script's standard input
but it also didn`t work with the same error.
Also I looked through the topics on your forum, and found this one:
viewtopic.php?f=2&t=53
There is a solution of the same problem - "configure Abinit with the --disable-stdin option"
But this topic is old, and I hope now there is a better one.
Or I have made some mistakes and I hope you will explain them to me.
Sincerely,
Afanasiev Ilya, student of Moscow State University.
I`m installing Abinit v 7.6.2 on "Lomonosov" supercomputer, in Russia.
Sorry if my question is silly or is asked second time, but I have searched for the answer and haven`t fount satisfactory solution.
So, my problem is how to run Abinit by queue script on our supercomputer.
In all tutorials Abinit`s launch is implemented only this way:
mpirun -n 1 abinit < t1x.files
(and it works in my case, but it isn`t what I want)
As I understand, it redirects input from stdin to t1x.files
The problem is that I have to make Abinit available for users by running script, the script looks somehow like this:
sbatch -n 1 -p gputest impi abinit < t1x.files
But this way it does`t work, the error is
"Give name for formatted input file:
forrtl: severe (24): end-of-file during read, unit 5, file stdin"
The second idea was to use an option of the script, this one:
-i, --input=in - file for batch script's standard input
but it also didn`t work with the same error.
Also I looked through the topics on your forum, and found this one:
viewtopic.php?f=2&t=53
There is a solution of the same problem - "configure Abinit with the --disable-stdin option"
But this topic is old, and I hope now there is a better one.
Or I have made some mistakes and I hope you will explain them to me.
Sincerely,
Afanasiev Ilya, student of Moscow State University.