[petsc-users] Unable to read in values thru namelist in Fortran after using PETSc 64bit in linux

TAY wee-beng zonexo at gmail.com
Fri Sep 7 01:44:00 CDT 2018


Hi,

I found that I am unable to read in values thru namelist in Fortran 
after using PETSc 64bit in linux.

I have a parameter txt file which is read in using namelist in Fortran:

namelist /body_input/ no_body, convex_body, motion_type, hover, 
wing_config  ...

open (unit = 44 , FILE = "ibm3d_input.txt" , status = "old", iostat = 
openstatus(4))

         if (openstatus(4) > 0) then

             print *, "ibm3d_input file not present or wrong filename."

             stop

         end if

         read (44,nml = solver_input)

         read (44,nml = grid_input)

         read (44,nml = body_input)...


After using PETSc 64bit, my code aborts and I realise that it is because 
the values have became NaN. Strangely, it does not occur in windows with 
VS2008.

I wonder if it's a bug with the Intel Fortran compiler 2018.

Anyone has similar experience?

-- 
Thank you very much.

Yours sincerely,

================================================
TAY Wee-Beng (Zheng Weiming) 郑伟明
Personal research webpage: http://tayweebeng.wixsite.com/website
Youtube research showcase: https://www.youtube.com/channel/UC72ZHtvQNMpNs2uRTSToiLA
linkedin: www.linkedin.com/in/tay-weebeng
================================================



More information about the petsc-users mailing list