compiling pyroms_toolbox

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
outman
Posts: 5
Joined: Tue Mar 29, 2016 3:32 pm
Location: csust

compiling pyroms_toolbox

#1 Unread post by outman »

when I run python setup.py build
the error is:
pyroms_toolbox/src/average.f90(14) #6415: this name cannot be assigned this data type because it conflicts with prior uses of the name [DIM1]
INITEGER::dim1,dim2,dim3

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: compiling pyroms_toolbox

#2 Unread post by kate »

Weird. What if you move line 14 to line 6? Same with moving line 53 up a bit. What compiler are you using?

outman
Posts: 5
Joined: Tue Mar 29, 2016 3:32 pm
Location: csust

Re: compiling pyroms_toolbox

#3 Unread post by outman »

kate wrote:Weird. What if you move line 14 to line 6? Same with moving line 53 up a bit. What compiler are you using?
I am using ifort


ifort:fix: pyroms_toolbox/src/average.f90
pyroms_toolbox/src/average.f90(14): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM1]
INTEGER::dim1,dim2,dim3
---------------^
pyroms_toolbox/src/average.f90(14): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM2]
INTEGER::dim1,dim2,dim3
--------------------^
pyroms_toolbox/src/average.f90(14): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM3]
INTEGER::dim1,dim2,dim3
-------------------------^
pyroms_toolbox/src/average.f90(53): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM1]
INTEGER::dim1,dim2
---------------^
pyroms_toolbox/src/average.f90(53): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM2]
INTEGER::dim1,dim2
--------------------^
compilation aborted for pyroms_toolbox/src/average.f90 (code 1)
pyroms_toolbox/src/average.f90(14): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM1]
INTEGER::dim1,dim2,dim3
---------------^
pyroms_toolbox/src/average.f90(14): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM2]
INTEGER::dim1,dim2,dim3
--------------------^
pyroms_toolbox/src/average.f90(14): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM3]
INTEGER::dim1,dim2,dim3
-------------------------^
pyroms_toolbox/src/average.f90(53): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM1]
INTEGER::dim1,dim2
---------------^
pyroms_toolbox/src/average.f90(53): error #6415: This name cannot be assigned this data type because it conflicts with prior uses of the name. [DIM2]
INTEGER::dim1,dim2

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: compiling pyroms_toolbox

#4 Unread post by kate »

You didn't try moving those lines, did you? It's still complaining about line 14. Anyway, I use gfortran and don't have this problem.

Post Reply