Comments (4)
Thanks for this. So I should also add more gcc compilers to the mix of the CI. What fun!
I think the latest suggestion in the gcc bug report (just move the checkFmt
function to the top of the file) will give us something that compiles with the latest gcc compilers (working around the bug) and is valid Fortran 2008. I say think because I am struggling a bit with:
If a specification expression in the specification-part of a module or submodule includes a reference to a generic entity, that generic entity shall have no specific procedures defined in the module or submodule subsequent to the specification expression.
(Paragraph 9 of section 7.2.11 of the Fortran2008 specification)
We don't reference the generic entity in checkFmt
so this compiler bug workaround should be OK. But validating this for the Cray compiler (which seems to be the only compiler that enforces this constraint) would be useful. I wonder if NAG does this yet...
from fox.
Yes it works with gfortran and pgi. Much simpler that I was afraid.
There is also another function get_TextContent_len to move upwards, It is in dom/m_dom_dom.F90, should be done in the m4 file but I don't know how to do.
I will do more tests with intel and let you know
from fox.
Just writing to say that I experienced the same problems as above with gfortran (7.3.0), moved the functions checkFmt
and get_TextContent_len
as suggested, and I was able to build successfully.
from fox.
Sorry for the delay!
At least a partial fix to this is at libAtoms@1eef739 and/or ye-luo@e4d0479
Looks like the gfortran bug ended up getting fixed and the fix got back ported (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85138) but I don't see a problem with these fixes. I'll pull together a patch
from fox.
Related Issues (20)
- problem with encoded additional HTML characters HOT 5
- First bullet point in LICENSE should not be a bullet HOT 1
- Found differences between the code in github and the official(?) site HOT 1
- Tests with ifort HOT 3
- Tests with PGI HOT 3
- Documentation for MPI etc
- cmake doesn't install anything HOT 1
- Compilation error while linking fox_sax as a library HOT 2
- Compilation issue with vfproj HOT 1
- How to compile the FoX with -fPIC flag? HOT 2
- support additional architectures with autoconf HOT 9
- Test wider range of compilers in CI HOT 1
- User code does not compile with pgi 20.4 for dom (generic procedure empty in destroy) HOT 2
- could not initialise potential from xml_label HOT 2
- Build using configure and make breaks for spaces in the path HOT 4
- Python module has some python2 syntax needs to be updated to python3
- Fatal Error: Cannot open module file 'fox_m_fsys_count_parse_input.mod' for reading at (1): No such file or directory
- Conflicts with the foxf90 library https://gitlab.com/siesta-project/libraries/xmlf90 HOT 1
- TravisCI seems broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fox.