Trovemaster/Duo

Compilation with GFortran - X descriptor requires leading space count

Closed this issue · 3 comments

Hello,
when I'm trying to build Duo with gfortran v 8.2.0, I'm getting a following error:

martin@martin-pc:~/Duo$ make -f MAKEFILES/makefile_gfortran 
gfortran -c diatom.f90 -fbounds-check -std=f2003  -O0
diatom.f90:4441:37:

                 write(out,'(a,t20,i4,x,t30,i4)') '  |Lambda|:',field%lambda,field%lambdaj
                                     1
Error: GNU Extension: X descriptor requires leading space count at (1)
diatom.f90:4443:41:

                 write(out,'(a,t20,i4,a,t30i4,a)') '  <a|Lz|b>:',field%ix_lz_y,'i',field%jx_lz_y,'i'
                                         1
Error: GNU Extension: Missing comma at (1)
diatom.f90:4444:32:

                 write(out,'(a,t18f8.1,a,f8.1,a)') '  factor',real(field%complex_f),'+',aimag(field%complex_f),'i'
                                1
Error: GNU Extension: Missing comma at (1)
diatom.f90:4451:32:

                 write(out,'(a,t20i4,x,t30i4)') '  Lambda:',field%lambda,field%lambdaj
                                1
Error: GNU Extension: Missing comma at (1)
make: *** [MAKEFILES/makefile_gfortran:36: diatom.o] Error 1

Is there a possibility of some easy fix?

I have fixed these gfortran-related issues. Can you please try the MOLPRO brunch?
https://github.com/Trovemaster/Duo/tree/MOLPRO
This is my main development version which I am planning to make default eventually.

Cheers,
Sergey

Dear Sergey,
thank you very much - MOLPRO branch is working without any problem.

Martin

Excellent