mbdevpl / transpyle-flash

0 stars 1 forks source link

NotImplementedError in eos_idealGamma (A) #4

Open chaw0023 opened 6 years ago

chaw0023 commented 6 years ago

Error::

NotImplementedError: cannot convert intrinsic call from raw AST: present(diagFlag)

in file: (A) _source/physics/Hydro/HydroMain/split/MHD_8Wave/eosidealGamma

A test case which uses this file is mhd rotor problem. i.e. ./setup magnetoHD/CurrentSheet -auto -2d -objdir=mhdrotor -site=sauc.xps -gridinterpolation=native -debug

mbdevpl commented 6 years ago

Hello!

Thanks for posting all of the issues! I was able to reproduce all of #1 to #9 issues currently posted, and I solved most of them, soon I'll be posting more updates.

However with this issue I have a question. The path you provided in this issue seems wrong, there is no file source/physics/Hydro/HydroMain/split/MHD_8Wave/eos_idealGamma.F90 in neither flash-subset nor flash 4.5. There are many files with the same name, all of them contain the present(diagFlag) (I checked via find . -name "eos_idealGamma.F90" | xargs grep -F "present(diagFlag)"), so I just picked /physics/Eos/EosMain/Gamma/eos_idealGamma.F90 for my tests of this issue. However, is this the correct file?

Here's the list of all candidate files:

flash-subset $ find . -name "eos_idealGamma.F90"
./FLASH4.4/source/physics/Eos/localAPI/eos_idealGamma.F90
./FLASH4.4/source/physics/Eos/EosMain/Gamma/eos_idealGamma.F90
flash $ find . -name "eos_idealGamma.F90"
./source/physics/Eos/localAPI/eos_idealGamma.F90
./source/physics/Eos/EosMain/multiTemp/MatRad3/Gamma/Ye/eos_idealGamma.F90
./source/physics/Eos/EosMain/multiTemp/MatRad3/Gamma/eos_idealGamma.F90
./source/physics/Eos/EosMain/multiTemp/Gamma/Ye/eos_idealGamma.F90
./source/physics/Eos/EosMain/multiTemp/Gamma/eos_idealGamma.F90
./source/physics/Eos/EosMain/Gamma/eos_idealGamma.F90
chaw0023 commented 6 years ago

Sorry Mateusz. This was error on my part. The correct source path is: source/physics/Eos/EosMain/Gamma/eos_idealGamma.F90