dislin with intel fortran on windows

260 views
Skip to first unread message

Ian Chivers

unread,
Oct 8, 2014, 6:41:12 AM10/8/14
to dislin...@googlegroups.com

I have a problem compiling and running one of the examples.

As far as I can determine I have installed dislin correctly. I visited

https://www.mps.mpg.de/1756616/win64

and I downloaded

  dl_10_ic.zip Intel comilers 64 bit.

I then extracted the files from the above zip file.

I then ran the

  readme.exe

file and followed the instructions to run the

  setup.exe

and accepted all defaults. so dislin is now in

  c:\dislin

I have set

  DISLIN

to c:\dislin

and have a batch file that adds

  c:\dislin\win

to the path for the intel compiler.

I then moved to the

  c:\dislin\ifc

directory and type

  ifort -c dislin.f90

and then to

  c:\doslin\ifc\real64

and typed

  ifort -c dislin.f90

I then moved to

  c:\dislin\examples

and typed

  f90link -a exa_f90

Here are the messages I get

C:\dislin\examples>ifort /c /Ic:\dislin\ifc exa_f90.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte
l(R) 64, Version 15.0.0.108 Build 20140726
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.


C:\dislin\examples>link exa_f90       c:\dislin\disifl.lib /DEFAULTLIB:gdi32.lib
 user32.lib
Microsoft (R) Incremental Linker Version 11.00.60315.1
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1561: entry point must be defined

System setup
============

Windows 7 Home premium SP1 64 Bit

ifort version
=============

Intel(R) Visual Fortran Intel(R) 64 Compiler XE
for applications running on Intel(R) 64,
Version 15.0.0.108 Build 20140726
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

I run things from a command prompt.

Here are the command prompt details.

Intel Parallel Studio XE 2015
Composer Edition Intel(r)
64 Visual Studio 2012.

I use the latest version as this is the first
Intel Fortran compiler to support certain
features from the Fortran 2003 and Fortran 2008
standards. In particular parameterised
derived types.

I have gone through the FAQ and found nothing there.
I found something that I have managed to get to work

  ifort exa_f77.for c:\dislin\disifl.lib  user32.lib gdi32.lib

by altering the name of the library from disifm.lib and this worked.

I would prefer to write Fortran 90 code though!

Any thoughts?

Helmut Michels

unread,
Oct 8, 2014, 8:02:05 AM10/8/14
to dislin...@googlegroups.com
Hi Ian,

I have downloaded the latest version of Intel Visual Fortran and made a test. Here is the result:

-----
C:\dislin64\examples>f90link -c exa_f90

C:\dislin64\examples>ifort /c /Ic:\dislin64\ifc exa_f90.f90

Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Inte
l(R) 64, Version 15.0.0.108 Build 20140726
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

C:\dislin64\examples>link exa_f90       c:\dislin64\disifl.lib /DEFAULTLIB:gdi32
.lib user32.lib
Microsoft (R) Incremental Linker Version 10.00.30319.01

Copyright (C) Microsoft Corporation.  All rights reserved.
------

I have installed my 64-bit libraries in c:\dislin64, but that doesn't matter. You can see that we are
using the same compiler version, but the linker version is different. My compiler installation is
integrated in MS Studio 2010, so that the linker version above is used. The problem seems to be
the linker. What happens when you try the command:

         ifort /Ic:\dislin\ifc exa_f90.f90 c:\dislin\disifl.lib user32.lib gdi32.lib

Best regards,

Helmut

Ian Chivers

unread,
Oct 8, 2014, 11:49:45 AM10/8/14
to dislin...@googlegroups.com

The 2010 version works.

 

Thanks very much for getting back so quickly.

I'll go through the release notes and try and
find out what has changed between vs 2010 and vs 2012.

Cheers 

Ian

Fernando Acácio Monteiro dos Santos

unread,
Oct 15, 2014, 5:41:48 AM10/15/14
to dislin...@googlegroups.com

Dear Helmut,

Just a question: I got the warning that I'm using too many edges in TRIANG. How can I solve this problem?

best regards



Fernando A. Monteiro Santos
________________________________
University of Lisbon - DEGGE-IDL
Campo Grande Ed. C8, 1749-016 Lisboa
Portugal
 

De: dislin...@googlegroups.com <dislin...@googlegroups.com> em nome de Helmut Michels <mic...@dislin.de>
Enviado: 8 de outubro de 2014 13:02
Para: dislin...@googlegroups.com
Assunto: Re: dislin with intel fortran on windows
 
--
You received this message because you are subscribed to the Google Groups "dislin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dislin-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Helmut Michels

unread,
Oct 15, 2014, 8:00:35 AM10/15/14
to dislin...@googlegroups.com
Dear Fernando,

I don't know what causes the internal overflow in the triangulation algorithm. Could you send me
a list of your data points that you want to triangulate?

Best regards,

Helmut

Fernando Acácio Monteiro dos Santos

unread,
Oct 15, 2014, 8:12:07 AM10/15/14
to dislin...@googlegroups.com

Dear Helmut,

thanks for your care. This is a significant amount of points and, much probably, I have repetitions (can be this a problem?). 

I'm sending the file. I want to make a plot a 2D map of  Dist, Z and EC. I ​can use a different way to plot the map but the use of TRIANG and CONFLL seems to be fast and accurate enough.

Please, let me know the limitations of TRIANG.

Best regards



Fernando A. Monteiro Santos
________________________________
University of Lisbon - DEGGE-IDL
Campo Grande Ed. C8, 1749-016 Lisboa
Portugal
 
Enviado: 15 de outubro de 2014 13:00
model.txt
Reply all
Reply to author
Forward
0 new messages