[Wien] Syntax error in array constructor (gfortran)

2013-02-21 Thread tas...@affinity-science.com
Hello, I encountered the follwoing errors when compiling in SRC_hf with GNU Fortran (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3. if there are any options of gfortran to avoid these errors, please advise. // gfortran -ffree-form -O2 -ffree-line-length-none -c calc_exhfvv_tmp_.F calc_exhfvv_tmp_.F:269.22

[Wien] Syntax error in array constructor (gfortran)

2013-02-20 Thread Gavin Abo
I think you have to modify the code like you indicated. I made the attached patch. It removed the compile time errors, but I never tested it make sure it didn't have any runtime errors. Placed gfortran.patch (for Wien2k 12.1) into $WIENROOT, and entered: $ patch -b -p0 -i gfortran.patch On 2

[Wien] Syntax error in array constructor (gfortran)

2013-02-22 Thread tas...@affinity-science.com
Dear Gavin, thank you for your reply. I agree and it might work well. but, I think it would be more favorable if source compatibility is kept in different compilers. Anyway, thanks again for your comments. With best regards, Tomo - Original Message - > I think you have to modify the co