[Octopus-users] octopus with SUN compiler

Nabil Benabbou benabbou at uottawa.ca
Mon May 17 13:49:59 WEST 2010


Hi  everybody;


Could  some one  tell me  what's  wrong?
I am getting similar errors for most of the .F90 routines

For  comparison The file mpi_lib_oct-LINUX.f90 was produced by a Linux
box with the /lib/cpp command and produced a different list of errors

I  am  using:
host='sparc-sun-solaris2.10'
f90: Sun Fortran 95 8.3 SunOS_sparc 2007/05/03
cc:  Sun C 5.9 SunOS_sparc 2007/05/03
CC: Sun C++ 5.9 SunOS_sparc 2007/05/03

Thank you

Nabil



The  error  messages  are:

 > ~/OCTOPUS/octopus-3.2.0/src/basic gmake 
CC -E  -I../../src/include -I../../src/include
-I../../external_libs/spglib/src -I../../liboct_parser
-I../../external_libs/metis-4.0/ -I../../external_libs/zoltan/include
-I. mpi_lib.F90 > mpi_lib_oct.f90
../../build/preprocess.pl mpi_lib_oct.f90 \
          "" "no" "yes" "yes"
mpif90 -mt -g -m32 -free -fast -xprefetch  -xvector=lib -KPIC -xO4
-M/opt/netcdf-3.6.2/include -openmp   -M../../src/basic -M../../src/math
-M../../src/species -M../../src/ions -M../../src/grid -M../../src/beak
-M../../src/poisson -M../../src/states -M../../src/xc -M../../src/system
-M../../src/hamiltonian -M../../src/scf -M../../src/td
-M../../src/opt_control -M../../src/sternheimer -M../../libxc/src
-M../../external_libs/qshep  -c  -o mpi_lib.o mpi_lib_oct.f90
f90: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=sparcvis2 which generates code that does not run on pre
UltraSPARC III processors

module mpi_lib_m
       ^         
"mpi_lib.F90", Line = 24, Column = 8: ERROR: The compiler has detected
errors in module "MPI_LIB_M".  No module information file will be
created for this module.

       lmpi_translate_rank
^                          
"mpi_lib.F90", Line = 41, Column = 1: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                 ^         
"mpi_lib.F90", Line = 41, Column = 18: ERROR: Unknown statement.
Expected assignment statement but found ")" instead of "=" or "=>".
                                   ^
"mpi_lib.F90", Line = 41, Column = 36: ERROR: Unexpected syntax:
"operand" was expected but found "&".
                                                                   ^
"mpi_lib.F90", Line = 41, Column = 68: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                                                   ^
"mpi_lib.F90", Line = 41, Column = 68: ERROR: Unexpected syntax:
"operand" was expected but found "&".

^
"mpi_lib.F90", Line = 41, Column = 73: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 41, Column = 82: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 41, Column = 87: ERROR: This statement must begin
with a label, a keyword, or an identifier.

  
^  
"mpi_lib.F90", Line = 42, Column = 1: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                 ^
"mpi_lib.F90", Line = 42, Column = 18: ERROR: Unknown statement.
Expected assignment statement but found ")" instead of "=" or "=>".
                                   ^
"mpi_lib.F90", Line = 42, Column = 36: ERROR: Unexpected syntax:
"operand" was expected but found "&".
                                                                   ^
"mpi_lib.F90", Line = 42, Column = 68: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                                                   ^
"mpi_lib.F90", Line = 42, Column = 68: ERROR: Unexpected syntax:
"operand" was expected but found "&".

^
"mpi_lib.F90", Line = 42, Column = 73: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 42, Column = 82: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 42, Column = 87: ERROR: This statement must begin
with a label, a keyword, or an identifier.

  interface lmpi_gen_allgatherv
^                               
"mpi_lib.F90", Line = 43, Column = 1: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                 ^              
"mpi_lib.F90", Line = 43, Column = 18: ERROR: Unknown statement.
Expected assignment statement but found ")" instead of "=" or "=>".
                                   ^
"mpi_lib.F90", Line = 43, Column = 36: ERROR: Unexpected syntax:
"operand" was expected but found "&".
                                                                   ^
"mpi_lib.F90", Line = 43, Column = 68: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                                                   ^
"mpi_lib.F90", Line = 43, Column = 68: ERROR: Unexpected syntax:
"operand" was expected but found "&".

^
"mpi_lib.F90", Line = 43, Column = 74: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 43, Column = 82: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 43, Column = 87: ERROR: This statement must begin
with a label, a keyword, or an identifier.


                        ^
"mpi_lib.F90", Line = 67, Column = 25: ERROR: Unexpected syntax:
"operand" was expected but found "EOS".
                        ^
"mpi_lib.F90", Line = 67, Column = 25: ERROR: Unexpected syntax: "," or
")" was expected but found "EOS".
                               ^
"mpi_lib.F90", Line = 67, Column = 32: ERROR: Unexpected syntax:
"operand" was expected but found "EOS".
                               ^
"mpi_lib.F90", Line = 67, Column = 32: ERROR: Unexpected syntax: "," or
")" was expected but found "EOS".
                                 ^
"mpi_lib.F90", Line = 67, Column = 34: ERROR: Unexpected syntax:
"operand" was expected but found "EOS".
                                 ^
"mpi_lib.F90", Line = 67, Column = 34: ERROR: Unexpected syntax: "," or
")" was expected but found "EOS".

    from_rank(1) = rank
               ^        
"mpi_lib.F90", Line = 68, Column = 16: ERROR: Unknown statement.
Expected assignment statement but found "," instead of "=" or "=>".

    lmpi_translate_rank = to_rank(1)
^                                    
"mpi_lib.F90", Line = 71, Column = 1: ERROR: This statement must begin
with a label, a keyword, or an identifier.
^                                    
"mpi_lib.F90", Line = 71, Column = 1: ERROR: An END statement is missing
for this IF statement.
    ^                                
"mpi_lib.F90", Line = 71, Column = 5: ERROR: This statement must begin
with a label, a keyword, or an identifier.
         ^                           
"mpi_lib.F90", Line = 71, Column = 10: ERROR: Unknown statement.
Expected assignment statement but found "7" instead of "=" or "=>".
                                ^    
"mpi_lib.F90", Line = 71, Column = 33: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                    ^
"mpi_lib.F90", Line = 71, Column = 37: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                                                  ^
"mpi_lib.F90", Line = 71, Column = 67: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 71, Column = 92: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 71, Column = 111: ERROR: This statement must begin
with a label, a keyword, or an identifier.

    call pop_sub()
^                  
"mpi_lib.F90", Line = 72, Column = 1: ERROR: This statement must begin
with a label, a keyword, or an identifier.
^                  
"mpi_lib.F90", Line = 72, Column = 1: ERROR: An END statement is missing
for this IF statement.
    ^              
"mpi_lib.F90", Line = 72, Column = 5: ERROR: This statement must begin
with a label, a keyword, or an identifier.
         ^         
"mpi_lib.F90", Line = 72, Column = 10: ERROR: Unknown statement.
Expected assignment statement but found "7" instead of "=" or "=>".
                                ^
"mpi_lib.F90", Line = 72, Column = 33: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                    ^
"mpi_lib.F90", Line = 72, Column = 37: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                                                  ^
"mpi_lib.F90", Line = 72, Column = 67: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 72, Column = 92: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 72, Column = 111: ERROR: This statement must begin
with a label, a keyword, or an identifier.

  end function lmpi_translate_rank
^                                  
"mpi_lib.F90", Line = 73, Column = 1: ERROR: This statement must begin
with a label, a keyword, or an identifier.
^                                  
"mpi_lib.F90", Line = 73, Column = 1: ERROR: An END statement is missing
for this IF statement.
    ^                              
"mpi_lib.F90", Line = 73, Column = 5: ERROR: This statement must begin
with a label, a keyword, or an identifier.
         ^                         
"mpi_lib.F90", Line = 73, Column = 10: ERROR: Unknown statement.
Expected assignment statement but found "7" instead of "=" or "=>".
                                ^  
"mpi_lib.F90", Line = 73, Column = 33: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                     ^
"mpi_lib.F90", Line = 73, Column = 38: ERROR: This statement must begin
with a label, a keyword, or an identifier.
                                                                   ^
"mpi_lib.F90", Line = 73, Column = 68: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 73, Column = 93: ERROR: This statement must begin
with a label, a keyword, or an identifier.

^
"mpi_lib.F90", Line = 73, Column = 111: ERROR: This statement must begin
with a label, a keyword, or an identifier.

f90comp: 833 SOURCE LINES
f90comp: 59 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
gmake: *** [mpi_lib.o] Error 1





 > ~/OCTOPUS/octopus-3.2.0/src/basic mpif90 -mt -g -m32 -free -fast
-xprefetch  -xvector=lib -KPIC -xO4 -M/opt/netcdf-3.6.2/include -openmp
-M../../src/basic -M../../src/math -M../../src/species -M../../src/ions
-M../../src/grid -M../../src/beak -M../../src/poisson -M../../src/states
-M../../src/xc -M../../src/system -M../../src/hamiltonian
-M../../src/scf -M../../src/td -M../../src/opt_control
-M../../src/sternheimer -M../../libxc/src -M../../external_libs/qshep
-c  -o mpi_lib.o mpi_lib_oct-LINUX.f90 
f90: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=sparcvis2 which generates code that does not run on pre
UltraSPARC III processors

module mpi_lib_m
       ^         
"mpi_lib.F90", Line = 24, Column = 8: ERROR: The compiler has detected
errors in module "MPI_LIB_M".  No module information file will be
created for this module.

                              ^
"mpi_lib_inc.F90", Line = 45, Column = 32: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

 ! Query how many elements each node has to contribute.
                                ^                       
"mpi_lib_inc.F90", Line = 46, Column = 33: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

  SAFE_DEALLOCATE_A(rdispls)
                        ^    
"mpi_lib_inc.F90", Line = 71, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

  SAFE_DEALLOCATE_A(recvcnts)
                        ^     
"mpi_lib_inc.F90", Line = 73, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.


                        ^
"mpi_lib_inc.F90", Line = 74, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.


                               ^
"mpi_lib_inc.F90", Line = 45, Column = 32: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

 ! Query how many elements each node has to contribute.
                                ^                       
"mpi_lib_inc.F90", Line = 46, Column = 33: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

  SAFE_DEALLOCATE_A(rdispls)
                        ^    
"mpi_lib_inc.F90", Line = 71, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

  SAFE_DEALLOCATE_A(recvcnts)
                        ^     
"mpi_lib_inc.F90", Line = 73, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.


                        ^
"mpi_lib_inc.F90", Line = 74, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.


                               ^
"mpi_lib_inc.F90", Line = 45, Column = 32: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

 ! Query how many elements each node has to contribute.
                                ^                       
"mpi_lib_inc.F90", Line = 46, Column = 33: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

  SAFE_DEALLOCATE_A(rdispls)
                        ^    
"mpi_lib_inc.F90", Line = 71, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

  SAFE_DEALLOCATE_A(recvcnts)
                        ^     
"mpi_lib_inc.F90", Line = 73, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.


                        ^
"mpi_lib_inc.F90", Line = 74, Column = 25: ERROR: The SIZEOF intrinsic
cannot be applied to dynamically-sized argument.

f90comp: 3736 SOURCE LINES
f90comp: 16 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI





More information about the Octopus-users mailing list