public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gfortran netcdf version mismatch
@ 2014-11-13 15:35 DeTracey, Brendan
  2014-11-13 15:47 ` Marco Atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: DeTracey, Brendan @ 2014-11-13 15:35 UTC (permalink / raw)
  To: cygwin

Hi,

Trying to compile using gfortran and netcdf I get:
Fatal Error: Cannot read module file 'netcdf.mod' opened at (1), because it was created by a different version of GNU Fortran

Might be the cygwin netcdf needs be rebuilt with current gfortran?

(CYGWIN_NT-6.1-WOW64 xxxxxxxxxxx 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin)

Regards,
Brendan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gfortran netcdf version mismatch
  2014-11-13 15:35 gfortran netcdf version mismatch DeTracey, Brendan
@ 2014-11-13 15:47 ` Marco Atzeri
  2014-11-14  8:32   ` Marco Atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2014-11-13 15:47 UTC (permalink / raw)
  To: cygwin

On 11/13/2014 4:35 PM, DeTracey, Brendan wrote:
> Hi,
>
> Trying to compile using gfortran and netcdf I get:
> Fatal Error: Cannot read module file 'netcdf.mod' opened at (1), because it was created by a different version of GNU Fortran
>
> Might be the cygwin netcdf needs be rebuilt with current gfortran?
>
> (CYGWIN_NT-6.1-WOW64 xxxxxxxxxxx 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin)
>
> Regards,
> Brendan

I will rebuild/upgrade netcdf-fortran it should be enough

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gfortran netcdf version mismatch
  2014-11-13 15:47 ` Marco Atzeri
@ 2014-11-14  8:32   ` Marco Atzeri
  2014-11-15 15:39     ` Marco Atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2014-11-14  8:32 UTC (permalink / raw)
  To: cygwin

On 11/13/2014 4:46 PM, Marco Atzeri wrote:
> On 11/13/2014 4:35 PM, DeTracey, Brendan wrote:
>> Hi,
>>
>> Trying to compile using gfortran and netcdf I get:
>> Fatal Error: Cannot read module file 'netcdf.mod' opened at (1),
>> because it was created by a different version of GNU Fortran
>>
>> Might be the cygwin netcdf needs be rebuilt with current gfortran?
>>
>> (CYGWIN_NT-6.1-WOW64 xxxxxxxxxxx 1.7.32(0.274/5/3) 2014-08-13 23:03
>> i686 Cygwin)
>>
>> Regards,
>> Brendan
>
> I will rebuild/upgrade netcdf-fortran it should be enough
>
> Regards
> Marco

not so easy as I thought.

both 4.2 and 4.4.1 segfault during tests with latest cygwin and gfortran
I need to understand the root cause.

Sorry
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gfortran netcdf version mismatch
  2014-11-14  8:32   ` Marco Atzeri
@ 2014-11-15 15:39     ` Marco Atzeri
  2014-11-17 12:43       ` DeTracey, Brendan
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2014-11-15 15:39 UTC (permalink / raw)
  To: cygwin

On 11/14/2014 9:32 AM, Marco Atzeri wrote:
> On 11/13/2014 4:46 PM, Marco Atzeri wrote:
>> On 11/13/2014 4:35 PM, DeTracey, Brendan wrote:
>>> Hi,
>>>
>>> Trying to compile using gfortran and netcdf I get:
>>> Fatal Error: Cannot read module file 'netcdf.mod' opened at (1),
>>> because it was created by a different version of GNU Fortran
>>>

rebuilt all with gcc-4.8.3 compilers.
It seems gfortran version must be same for netcdf and netcdf-gfortran

Let me know if you have further problem
Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: gfortran netcdf version mismatch
  2014-11-15 15:39     ` Marco Atzeri
@ 2014-11-17 12:43       ` DeTracey, Brendan
  0 siblings, 0 replies; 5+ messages in thread
From: DeTracey, Brendan @ 2014-11-17 12:43 UTC (permalink / raw)
  To: Marco Atzeri, cygwin

Thanks Marco!

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On
> Behalf Of Marco Atzeri
> Sent: November-15-14 11:39 AM
> To: cygwin@cygwin.com
> Subject: Re: gfortran netcdf version mismatch
> 
> On 11/14/2014 9:32 AM, Marco Atzeri wrote:
> > On 11/13/2014 4:46 PM, Marco Atzeri wrote:
> >> On 11/13/2014 4:35 PM, DeTracey, Brendan wrote:
> >>> Hi,
> >>>
> >>> Trying to compile using gfortran and netcdf I get:
> >>> Fatal Error: Cannot read module file 'netcdf.mod' opened at (1),
> >>> because it was created by a different version of GNU Fortran
> >>>
> 
> rebuilt all with gcc-4.8.3 compilers.
> It seems gfortran version must be same for netcdf and netcdf-gfortran
> 
> Let me know if you have further problem
> Regards
> Marco
> 
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-17 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 15:35 gfortran netcdf version mismatch DeTracey, Brendan
2014-11-13 15:47 ` Marco Atzeri
2014-11-14  8:32   ` Marco Atzeri
2014-11-15 15:39     ` Marco Atzeri
2014-11-17 12:43       ` DeTracey, Brendan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).