nncarlson / petaca

Petaca: A collection of foundational Fortran modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling with the flang compiler

nncarlson opened this issue · comments

This issue tracks the status of compiling petaca using the flang compiler, which is currently not working.

You should use the flang branch, which contains additions, workarounds, etc. for the compiler. I periodically rebase it onto the master branch (bad practice, I know -- sorry).

Using the March 2019 binary release, these are the failing tests:

The following tests FAILED:
	  4 - any_vector (Failed)
	  5 - any_matrix (Failed)
	  6 - parameter_list (SEGFAULT)
	  7 - parameter_list_json (Failed)

Workarounds for several serious compiler bugs were required to get to this point, including:

Other compiler bugs with no apparent workaround as of yet are: