<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
Hi !!!<br>
<br>
<br>
I make compile fromparallelNetCDF.<br>
<br>
Thanks, very thanks all members by messages send-me. <br>
<br>
<br>
<br>
<br>
<br>
Varlei <br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
-----------------------------------------------------------------------------
Varlei Everton Menconi
(<a class="moz-txt-link-abbreviated" href="mailto:varlei@dge.inpe.br">varlei@dge.inpe.br</a>)
INPE - Instituto Nacional de Pesquisas Espaciais
CEA - Ciências Espaciais e Atmosféricas
DGE - Divisão de Geofísica Espacial
Avenida dos Astronautas, 1758- Jardim Granja -Predio Sigma -Sala 41
Cep: 12227-010 - São Jose dos Campos - SP - Brasil
fone: (055) (012) 3208-6819
fax: (055) (012) 3208-6810
------------------------------------------------------------------------------</pre>
<br>
<br>
<br>
<br>
On 06/28/2011 01:05 PM, Varlei Everton Menconi wrote:
<blockquote cite="mid:4E09FBDD.1060405@dge.inpe.br" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
Hi all members this list.;<br>
<br>
Wei-keng suggested:<br>
<br>
<pre wrap="">From your configure log, I can see the "configure" is still using f77.
The problem is "configure" checks the environment variable "FC" instead of "F77".
Can you try set "FC" to gfortran and let us know?
By the way, here is the list of environment variables that can be set. (in tcsh)
setenv CC gcc
setenv CXX g++
setenv FC gfortran
setenv F90 gfortran
setenv MPICC mpicc
setenv MPICXX mpicxx
setenv MPIF77 mpif77
setenv MPIF90 mpif90
Wei-keng
</pre>
<br>
I make the environment variables:<br>
<br>
#!/bin/bash<br>
SHELL=/bin/bash<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:MAILTO=varlei@dge.inpe.br">MAILTO=varlei@dge.inpe.br</a><br>
clear<br>
export CC=/usr/bin/gcc<br>
export CXX=/usr/bin/g++<br>
export FC=/usr/bin/gfortran<br>
export F90=/usr/bin/gfortran <br>
export MPICC=/usr/bin/mpicc<br>
export MPICXX=/usr/bin/mpiccxx<br>
export MPIF77=/usr/bin/mpif77<br>
export MPIF90=/usr/bin/mpif90<br>
printenv<br>
<br>
The return that command printenv it's attached file Lista3.txt. <br>
The variables to do correct values (conform show file).<br>
<br>
Then i try to compile with command follow. <br>
#!/bin/bash<br>
SHELL=/bin/bash<br>
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:MAILTO=varlei@dge.inpe.br">MAILTO=varlei@dge.inpe.br</a><br>
clear<br>
printenv <br>
rm -fR /usr/local/parallelNetCDF/*.*<br>
./configure --prefix=/usr/local/parallelNetCDF
--enable-fortran --enable-mpi-io-test --with-mpi=/usr <br>
<br>
This log's that command into attached file
LogCompiler3.txt <br>
<br>
Error still persist: <i><b>"configure: error: F77 does not
support "integer*8"</b></i> <br>
<br>
Even with the parameter "--disable-fortran" in to line command,
error still persist. <br>
<br>
I can't understand why.<br>
<br>
<br>
----------------------------------------------------------------------------------------------------------------------<br>
<br>
Jim Edwards suggest i tryed compile the code follow in my
computer:<br>
<br>
<br>
> program test<br>
> integer*8 :: fred<br>
> end program<br>
><br>
<br>
<br>
I try to compile with the command gfortran-4.5. (using the line
comand: gfortran-4.5 -o Teste Jim.f90 (source file with code)
) ./Teste <br>
<br>
The compiled with sucess and without errors. I run the
executable file and find execution with errors. <br>
<br>
I try the with symbolic link g77 (using the line comand: g77 -o
Teste2 Jim.f90 (source file with code) ) ./Teste2 <br>
<br>
The compiled with sucess and without errors. I run the
executable file and find execution with errors. <br>
<br>
<br>
I can't understand why,<br>
I can't understand why.<br>
I can't understand why.<br>
<br>
<br>
Thanks by your help. <br>
<br>
<br>
<br>
<br>
Varlei <br>
<br>
<br>
<pre class="moz-signature" cols="72">--
-----------------------------------------------------------------------------
Varlei Everton Menconi
(<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:varlei@dge.inpe.br">varlei@dge.inpe.br</a>)
INPE - Instituto Nacional de Pesquisas Espaciais
CEA - Ciências Espaciais e Atmosféricas
DGE - Divisão de Geofísica Espacial
Avenida dos Astronautas, 1758- Jardim Granja -Predio Sigma -Sala 41
Cep: 12227-010 - São Jose dos Campos - SP - Brasil
fone: (055) (012) 3208-6819
fax: (055) (012) 3208-6810
------------------------------------------------------------------------------</pre>
</blockquote>
<br>
</body>
</html>