FEAP User Forum
FEAP => Parallel FEAP => Topic started by: Mari on January 21, 2019, 12:50:19 AM
-
Hello,
i would like to run calculations with parfeap on a high performance cluster, which is why I have to prevent user requests. The calculation should start immediately after entering the calculation command (mpirun -n 2 $FEAPHOME8_5/parfeap/feap -ksp_type cg -pc_type jacobi) without asking whether the filenames are correct or not.
Where can I change this in the (parfeap) code?
Thank you in advance!
-
This seems dangerous. How are you going to set the filnames for the program to run?
If you do need to do it:
1. Copy filnam.f to the ./parfeap directory from ./program --- you do not want this in the serial program
2. Around line 258 you will find the comment 'Start execution' -- this is where the input is made.
add a line: go to 100 before the read
-
In standard mode giving filenames through "./feap -iIFILENAME -o... -r... -s... -p..." works well. Is it different in parfeap?
-
Try it to see. It should, and if it does you do not need to change the filnam - all you should need to specify is the -iIxxxx the rest will be set by default.
-
In parFEAP the call to doarg( ) has been commented out in parfeap/filargs.f. We never finished adding this feature for parfeap. If you follow the code in serial feap and then look at parfeap you should be able to activate the feature.
I'll look at making the change on our end to so that it is available in the next release.
-
Here is a fix:
1. edit parfeap/filargs.F and remove the comment on the call to doargs( )
2. add the attached doargs.f to the parfeap directory
3. add doargs.o to the list of files in makefile
4. run make install
To use:
mpirun -n $FEAPHOME8_5/parfeap/feap -iIfile_0001
Note you have to give the name to the first file of the partitioned set. Also the only permitted options are -i -r and -d.
-
Thank you for your quick and helpful answers! I had already tried Prof. Taylor's first suggestion and it worked. However, I will probably try the other suggestions soon.
Thanks again to everyone!