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 Post by outman » Thu Dec 08, 2016 6:01 am

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: 3803
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: compiling pyroms_toolbox

#2 Post by kate » Thu Dec 08, 2016 6:24 am

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 Post by outman » Thu Dec 08, 2016 8:20 am

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: 3803
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: compiling pyroms_toolbox

#4 Post by kate » Thu Dec 08, 2016 5:47 pm

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