[CPMD-list] Lahey F90 Compiler
Juerg Hutter
hutter at pci.unizh.ch
Thu May 9 18:10:30 CEST 2002
Hi
can't help you directly with the Lahey compiler,
but the -Y option of the Absoft compiler is not
used by the cpp. It determines how the compiler
names subroutines internally (lower case, upper case,
appending underscore, etc). This is important
to match names with external libraries.
Most likely you should ignore this option for
your compiler or replace it with the appropriate
option of the Lahey compiler. This option has
nothing to do with CPMD directly.
Juerg
----------------------------------------------------------
Juerg Hutter Phone : ++41 1 635 4491
Physical Chemistry Institute FAX : ++41 1 635 6838
University of Zurich E-mail: hutter at pci.unizh.ch
Winterthurerstrasse 190
CH-8057 Zurich, Switzerland
----------------------------------------------------------
On Thu, 9 May 2002, Alex Merchant wrote:
> Hi everyone,
>
> My questions are:
>
> * Has anybody sucessfully used Lahey-Fujitsu to compile CPMD ? If so
> what compiler options did you use ?
> * Can anyone suggest how I might go about passing the "-Y" variable
> into the cpp compiler using Lahey Fortran ?
>
> See below for details:
>
> Our department has recently migrated to PC-Linux boxes running [I
> think] RedHat
> (at least my env says HOSTTYPE=i586-linux, VENDOR=intel, OSTYPE=linux
> MACHTYPE=i586).
>
> Anyway, my experience is using COMPAQ SC80 and DEC-ALPHA ./Configure
> options not PC-IFC, PC-PGI, PC-ABSOFT! Regardless we are using
> Lahey-Fujitsu
> fortran compilers not ABSOFT or IFC. Using the compiler option "ABSOFT"
> comes
> close but we get the error:
>
> >> /usr/bin/f90 -c -B108 -B100 -YEXT_NAMES=LCS -O ./util.f -o
> ./util.o
> >> f95: warning: Invalid suboption specified for -Y.
> >> 2018-S: "./util.f", line 183: When IMPLICIT NONE is specified, I
> must be declared in a type declaration statement.
> >> Encountered 1 error, 0 warnings in file ./util.f.
> >> rm -f timetag.f
> >> /lib/cpp -P -C -D__NOINT8 -D__Linux -D__ABSOFT -DLAPACK
> -DFFT_DEFAULT ./timetag.F ./timetag.f
> >> /usr/bin/f90 -c -B108 -B100 -YEXT_NAMES=LCS -O ./timetag.f
> >> f95: warning: Invalid suboption specified for -Y.
> >> Encountered 0 errors, 0 warnings in file ./timetag.f.
> >> etc
>
> I understand that the "-Y" option is a variable passed to the "cpp"
> compiler but I cannot find
> what the equivalent Lahey F90 command to pass the variable to "cpp".
>
> Any help would be most appreciated. I've used the standard INCLUDES
> from the lahey-f90
> before compiling.
>
> Alex
>
>
>
>
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://www.cpmd.org/mailman/listinfo/cpmd-list
>
More information about the CPMD-list
mailing list