Hi David,

I just removed the GLOBALSYSSOLN section in my session file and the issue resolved.
Thank you very much.

Best,
Ali

From: Moxey, David <d.moxey@imperial.ac.uk>
Sent: Friday, June 7, 2019 4:03 PM
To: Akhavan Safaei, Ali
Cc: nektar-users
Subject: Re: [Nektar-users] Running IncNavierStokesSolver in parallel with I.C. from file
 
Hi Ali,

Do you have a GlobalSysSoln entry set somewhere in your session file that is set to a direct solver, either in the SOLVERINFO section or a separate GLOBALSYSSOLN section, e.g.:

    <I PROPERTY="GlobalSysSoln" VALUE="DirectStaticCond" />

If so you should remove this, since parallel simulations require the use of the iterative solver.

Cheers,

Dave

> On 7 Jun 2019, at 20:28, Akhavan Safaei, Ali <akhavans@msu.edu> wrote:
>
> Hello everyone,
>
> I got an issue when I want to run IncNavierStokesSolver while I am giving the initial conditions from a filed data file as:
>
>         <FUNCTION NAME="InitialConditions">
>             <F VAR="u,v,w,p" FILE="IC.fld"/>
>         </FUNCTION>
>
> The "IC.fld" was generated from the following interpolation using parallel FieldConvert:
>
> mpirun -np 256 FieldConvert -m interppointdatatofld Grid.xml IC.pts IC.fld
>
> ​where "IC.pts" comes from u,v,w,p from a fully turbulent 3D data.
>
>  When I'm running the IncNavierStokesSolver with the following command:
>
> mpirun -np 256 IncNavierStokesSolver Grid.xml Conds.xml
>
> I'm getting the following error:
>
> Fatal   : Level 0 assertion violation
> A parallel solver must be used when run in parallel.
> -------------------------------------------------------
> Primary job  terminated normally, but 1 process returned
> a non-zero exit code. Per user-direction, the job has been aborted.
> -------------------------------------------------------
> --------------------------------------------------------------------------
> mpirun detected that one or more processes exited with non-zero status, thus causing
> the job to be terminated. The first process to do so was:
>
>   Exit code:    1
> --------------------------------------------------------------------------
>
> Everything works correctly if I don't run in parallel.
> Has anybody seen such issue? I would extremely appreciate it if you can help me with that.
>
>
> Kind Regards,
> Ali Akhavan-Safaei
>
> ---------------------------------------------------
> ---------------------------------------------------
> Ali Akhavan-Safaei, PhD student,
>
> Graduate Research Assistant
> Michigan State University
> Department of Mechanical Engineering
>
> 428 S. Shaw Lane
> Engineering Bldg., Rm. #4110
> East Lansing, MI 48824
> Email: akhavans@msu.edu
>             akhavans@egr.msu.edu
> ---------------------------------------------------
> ---------------------------------------------------
> _______________________________________________
> Nektar-users mailing list
> Nektar-users@imperial.ac.uk
> https://urldefense.proofpoint.com/v2/url?u=https-3A__mailman.ic.ac.uk_mailman_listinfo_nektar-2Dusers&d=DwIGaQ&c=nE__W8dFE-shTxStwXtp0A&r=HZK1y0zktSNbCqeQOOlkyQ&m=qZ3VtpsECZpag6lDdnSmr7turvfjorzVBoL0HBRM_uA&s=CTvW-Nk0EZUc_kte4w6rgC4cWiusx3t9avmMyuSUKHM&e=

--
Dr David Moxey, PhD MMath MIMA FHEA
Senior Lecturer in Engineering
d.moxey@exeter.ac.uk | tel: 01392 724764 | web: davidmoxey.uk

Room K1, Innovation Centre,
University of Exeter,
Exeter, EX4 4RN, UK.