Author Topic: Running FEAP in Parallel  (Read 5877 times)

abbhuiya

  • Jr. Member
  • **
  • Posts: 14
Running FEAP in Parallel
« on: April 15, 2014, 05:19:28 PM »
Dear Sir,

I am a new FEAP user. I need to run feap in parallel.  Before running feap in parallel, I could split my input file (Ipatch_4el) into 2 different input files (Ipatch_4el_0001 & Ipatch_4el_0002). Now I want to run it in parallel and get output files (Opatch_4el_0001 & Opatch_4el_0002).

My question is:

If I want to run it in Parallel, what command should I use? I found the following command in the manual:

"{MPIEXEC} -np $(NPROC) --machinefile machines $(FEAPRUN) -ksp_type cg -ksp_monitor -pc_type jacobi -options_left"

I exactly wrote this command and I am getting the following error messages:

-bash: NPROC: command not found
-bash: FEAPRUN: command not found
-bash: {MPIEXEC}: command not found


What am I doing wrong? My target is to run feap in parallel and get output files (Opatch_4el_0001 & Opatch_4el_0001). I will be very grateful if I get some help with the issue!

Best Regards 

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Running FEAP in Parallel
« Reply #1 on: April 16, 2014, 09:25:11 AM »
You have to fill in the definitions for the NPROC etc if you are going to just type that at the command prompt.
Easier is to define NPROC in the parfeap/makefile, then type something like "make -f makefile feaprun"; the
make flle should automatically setup FEAPRUN and MPIEXEC for you.