g95 compiler failing

Bug #1619437 reported by Nick Papior
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Siesta
Fix Released
Medium
Nick Papior
4.0
Fix Released
Medium
Alberto Garcia
4.1
Fix Released
Medium
Nick Papior

Bug Description

I have tried compiling siesta, in serial, using g95.

The g95 compiler has some very strict syntax checks, thus many errors arise.

arch.make:
SIESTA_ARCH=x86_64-linux-g95
FC=g95
FC_SERIAL=g95
AR=ar
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)

FFLAGS=-O2 -Wall
FFLAGS_DEBUG=-g

LDFLAGS=
COMP_LIBS += libsiestaBLAS.a libsiestaLAPACK.a

There are numerous bugs to be cleared (also bugs in LAPACK and BLAS).

Luckily these errors have not turned up using other compilers, so _only_ those forced to use the g95 are affected.

(thanks to Javier Junquera for reporting this)

Tags: compiler

Related branches

Revision history for this message
Nick Papior (nickpapior) wrote :
Revision history for this message
Alberto Garcia (albertog) wrote :

The tighter syntax checks by g95 also affect the 4.0 series. Work on a patch is in progress.

Revision history for this message
Alberto Garcia (albertog) wrote :

The patch supplied by Nick on Sep. 1st will delete the "CONTIGUOUS" keyword from some argument declarations in m_mixing.F90. This is a F2008 feature, not implemented yet in some compilers.

Revision history for this message
Alberto Garcia (albertog) wrote :

I am keeping the status as "Fix committed" in the trunk (instead of the customary "Fix Released") because otherwise 4.0 and 4.1 users will not see it.

Nick Papior (nickpapior)
no longer affects: siesta/trunk
Nick Papior (nickpapior)
Changed in siesta:
milestone: none → 4.0.1
Nick Papior (nickpapior)
tags: added: compiler
Nick Papior (nickpapior)
Changed in siesta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.