gms-bbg / gamess-issues

GAMESS issue tracking
7 stars 1 forks source link

Lines too long in "source/mx_limits.src" for the PGI compiler #17

Open tomoppe opened 4 years ago

tomoppe commented 4 years ago

GAMESS version: September 30, 2019 R2 Public Release Platform: Cray XC40 excalibur04> uname -a Linux excalibur04 3.0.101-0.47.106.59.1.17833.1.PTF-default #1 SMP Fri Jul 12 15:25:20 UTC 2019 (22227d7) x86_64 x86_64 x86_64 GNU/Linux Modules include: PrgEnv-pgi/5.2.82 pgi/17.7.0 cray-mpich/7.2.4 craype/2.4.1 (others) Math library is "-lblas".

ftn -c -i8 -mcmodel=medium -fastsse -O4 -Mfpmisalign mx_limits.F90 PGF90-S-0285-Source line too long (mx_limits.F90: 44) 0 inform, 0 warnings, 1 severes, 0 fatal for mx_limits

Even though the continuation is a comment starting with (!), pgfortran says the source code line is too long. I think the line length limit is 132 characters. I could not find a flag to override it.

This failure causes other routines to fail to compile: mod_dft_fuzzycell mod_dft_gridint

Thank you. I hope that I am not being a pest.

Tom Oppe

Make sure these boxes are checked before submitting your issue - thank you!

saromleang commented 4 years ago

For pgfortran there is no workaround to enable lines longer than 132 characters like there is in gfortran. We will need to adjust the offending source file.