Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling mod_base_layer.f90 with ifort and ifx #21

Closed
milancurcic opened this issue Apr 15, 2024 · 4 comments
Closed

Error compiling mod_base_layer.f90 with ifort and ifx #21

milancurcic opened this issue Apr 15, 2024 · 4 comments
Assignees
Labels
bug Something isn't working support Support for different operating systems, compilers, and architectures

Comments

@milancurcic
Copy link
Contributor

milancurcic commented Apr 15, 2024

With ifort-2021.10:

mod_base_layer.f90                     failed.
[ 18%] Compiling...
././src/lib/mod_base_layer.f90(117): error #6118: The interface block containing the separate interface body must not be abstract.
     module subroutine initialise(this, input_shape, batch_size, verbose)
-----^
/tmp/ifort9QfSWv.i90(424): catastrophic error: Too many errors, exiting
compilation aborted for ././src/lib/mod_base_layer.f90 (code 1)
<ERROR> Compilation failed for object " src_lib_mod_base_layer.f90.o "
<ERROR> stopping due to failed compilation
STOP 1

With ifx-2023.2:

mod_base_layer.f90                     failed.
[ 18%] Compiling...
././src/lib/mod_base_layer.f90(117): error #6118: The interface block containing the separate interface body must not be abstract.
     module subroutine initialise(this, input_shape, batch_size, verbose)
-----^
/tmp/ifx15633005958Xufq1/ifxtP3YAF.i90(424): catastrophic error: Too many errors, exiting
compilation aborted for ././src/lib/mod_base_layer.f90 (code 1)
<ERROR> Compilation failed for object " src_lib_mod_base_layer.f90.o "
<ERROR> stopping due to failed compilation
STOP 1

Part of openjournals/joss-reviews#6492

@nedtaylor nedtaylor self-assigned this Apr 16, 2024
@nedtaylor nedtaylor added the bug Something isn't working label Apr 16, 2024
@nedtaylor
Copy link
Owner

This is now fixed in commit 29d05ae

Other issues have arisen which have been resolved in branch 21-ifx-compilation-error

@nedtaylor nedtaylor added the support Support for different operating systems, compilers, and architectures label Apr 16, 2024
@milancurcic
Copy link
Contributor Author

Thank @nedtaylor, can you keep open until this is merged into main, for the sake of bookkeeping for openjournals/joss-reviews#6492.

@nedtaylor nedtaylor reopened this Apr 19, 2024
@nedtaylor
Copy link
Owner

Thanks @milancurcic for the recommendation to keep this open. I've reopened this issue until merged into main.

@nedtaylor
Copy link
Owner

Merged into main. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support Support for different operating systems, compilers, and architectures
Projects
None yet
Development

No branches or pull requests

2 participants