#2529: Flang error in Cactus/src/util/PointerTo.F90
Reporter: Erik Schnetter
Status: new
Milestone:
Version: development version
Type: bug
Priority: major
Component: Cactus
Comment (by Roland Haas):
uh ` f18 failed with exit status 0` is not very great behaviour of flang.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2529/flang-error-in-ca…
#2529: Flang error in Cactus/src/util/PointerTo.F90
Reporter: Erik Schnetter
Status: new
Milestone:
Version: development version
Type: bug
Priority: major
Component: Cactus
Changes (by Roland Haas):
priority: major (was minor)
Comment (by Roland Haas):
ok, bumping this to major again since the error really should be reported.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2529/flang-error-in-ca…
#2529: Flang error in Cactus/src/util/PointerTo.F90
Reporter: Erik Schnetter
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: Cactus
Comment (by Erik Schnetter):
These are the relevant lines in `config.log`:
```
configure:2105: checking whether the Fortran compiler (/home/eschnetter/src/CarpetX/Cactus/view-compilers-llvm/bin/flang ) support\
s TYPE(*) for CCTK_PointerTo
configure:2130: /home/eschnetter/src/CarpetX/Cactus/view-compilers-llvm/bin/flang -c -pipe -g -march=native -fcray-pointer -ffixed-\
line-length-none conftest.f 1>&5
conftest.f:7:22: error: Assumed type argument requires an explicit interface
b = transfer(c_loc(a), b)
^^^^^^^^
/home/eschnetter/src/CarpetX/Cactus/view-compilers-llvm/bin/f18: Semantic errors in conftest.f
flang: in /home/eschnetter/src/CarpetX/Cactus/configs/sim-llvm-debug/config-data, f18 failed with exit status 0: /home/eschnetter/s\
rc/CarpetX/Cactus/view-compilers-llvm/bin/f18 -module-suffix .f18.mod -intrinsic-module-directory /home/eschnetter/src/CarpetX/Cact\
us/view-compilers-llvm/include/flang -c -pipe -g -march=native -fcray-pointer -ffixed-line-length-none conftest.f
```
That is, the error is reported, but somehow doesn’t make it back to the configure script.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2529/flang-error-in-ca…
#2529: Flang error in Cactus/src/util/PointerTo.F90
Reporter: Erik Schnetter
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: Cactus
Comment (by Erik Schnetter):
<div class="preview-container wiki-content"><!-- loaded via ajax --></div>
<div class="mask"></div>
</div>
</div>
</form>
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2529/flang-error-in-ca…
#2176: Test "Binary neutron star" example
Reporter: Roland Haas
Status: open
Milestone: ET_2021_05
Version: development version
Type: task
Priority: major
Component: EinsteinToolkit website
Comment (by Atul Kedia):
Thank you! I was wondering what the repo path should be changed to.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2176/test-binary-neutr…
#2529: Flang error in Cactus/src/util/PointerTo.F90
Reporter: Erik Schnetter
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: Cactus
Changes (by Roland Haas):
priority: minor (was major)
Comment (by Roland Haas):
Downgrade to minor since the flang compiler is not used in any ET release.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2529/flang-error-in-ca…
#2529: Flang error in Cactus/src/util/PointerTo.F90
Reporter: Erik Schnetter
Status: new
Milestone:
Version: development version
Type: bug
Priority: major
Component: Cactus
Comment (by Roland Haas):
Can you supply the file \`configs/sim/config-data/config.log\`, please?
The configure test there uses:
```fortran
subroutine foo(a)
use iso_c_binding, only: c_loc,c_intptr_t
implicit none
type(*),dimension(..),target :: a
integer(kind=kind(c_intptr_t)) :: b
b = transfer(c_loc(a), b)
end subroutine
program main
end
```
which is \(almost other than the `c_intptr_t`\) the same code as inf `PointerTo.F90`:
```fortran
CCTK_POINTER function CCTK_PointerTo(var)
use iso_c_binding, only: c_loc
implicit none
type(*), dimension(..), TARGET :: var
CCTK_POINTER :: address
address = transfer(c_loc(var), address)
CCTK_PointerTo = address
end function
```
so I would have expected some configure test failing and the define not to be set.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2529/flang-error-in-ca…
#2173: Test "Poisson equation" example
Reporter: Roland Haas
Status: open
Milestone: ET_2021_05
Version: development version
Type: task
Priority: major
Component: EinsteinToolkit website
Comment (by Miguel Gracia):
Uploaded the results in the downloads folder.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2173/test-poisson-equa…