[GiDlist] gidpost.lib for Intel Visual Fortran Compiler

Enrique,

The revised lib file doesn’t work on my machine (Intel Visual Fortran 11.1 / Visual Studio 2008) neither. I don’t know why it can’t.

Is it possible for me to get the source code of gidpost.lib in the form of subroutines? It works better for me since I can compile them along with my source code for our program. Then it should work with no problem on any Fortran compiler.

Regards,

Kenji


From: Adria Melendo [mailto:amelendo at cimne.upc.edu]
Sent: Monday, September 06, 2010 6:29 AM
To: Furui, Kenji
Subject: Re: [GiDlist] gidpost.lib for Intel Visual Fortran Compiler

Yee, It is possible to use gidpost also with Intel Visual Fortran (at least I tested it with Intel Visual Fortran 10.1.25 on Microsoft Visual Studio 2005)

I attach the gidpost.lib library (win x32) that a I am using (I recompiled the library again from the source code with the appropiated settings to be linked with this FORTRAN version)

I think that to link you must set the property
Fortran-External procedures -calling convention to ‘default’ or maybe to CVF (/iface:cvf)

Regards

Enrique Escolano


From: Furui, Kenji
Sent: Friday, September 03, 2010 5:07 PM
To: ‘gidlist at listas.cimne.upc.edu
Subject: gidpost.lib for Intel Visual Fortran Compiler

Hi,

I’m trying to link gidpost.lib in Intel Visual Fortran Compiler but getting error messages. Could you please tell me if it’s compatible? - It seems gidpost.lib works in Compaq Visual Fortran though…

I’m using Intel Visual Fortran 11.1 on Microsoft Visual Studio 2008.

Thanks,

Kenji

The source code C/C++ is of the GiD post is included in the downloaded zip
http://www.gidhome.com/gid-plus/tools/gidpost
To compile it is necessary off course this kind of language compiler (we are
using on Windows MS Visual C++ 2005 or 2008)

What is happening with our compiled library? It is not possible to link it
or it doesn’t work at runtime?

I attach you a simple Fortran example (testpostfor.f) compiled with Intel
Visual Fortran 10.1.25 on Microsoft Visual Studio 2005 (the project is
included)
a testpostfor.exe program must be created, and running it a
testfortran.post.res GiD postprocess file must be created

Regards

Enrique Escolano

----- Original Message -----
From: “Furui, Kenji” Kenji.Furui at conocophillips.com
To: gidlist at listas.cimne.upc.edu
Sent: Wednesday, September 08, 2010 2:53 PM
Subject: Re: [GiDlist] gidpost.lib for Intel Visual Fortran Compiler


Enrique,
The revised lib file doesn’t work on my machine (Intel Visual Fortran 11.1
/ Visual Studio 2008) neither. I don’t know why it can’t.
Is it possible for me to get the source code of gidpost.lib in the form of
subroutines? It works better for me since I can compile them along with my
source code for our program. Then it should work with no problem on any
Fortran compiler.
Regards,
Kenji


From: Adria Melendo [mailto:amelendo at cimne.upc.edu]
Sent: Monday, September 06, 2010 6:29 AM
To: Furui, Kenji
Subject: Re: [GiDlist] gidpost.lib for Intel Visual Fortran Compiler
Yee, It is possible to use gidpost also with Intel Visual Fortran (at
least I tested it with Intel Visual Fortran 10.1.25 on Microsoft Visual
Studio 2005)
I attach the gidpost.lib library (win x32) that a I am using (I recompiled
the library again from the source code with the appropiated settings to be
linked with this FORTRAN version)
I think that to link you must set the property
Fortran-External procedures -calling convention to ‘default’ or maybe to
CVF (/iface:cvf)
Regards
Enrique Escolano


From: Furui, Kenji
Sent: Friday, September 03, 2010 5:07 PM
To: ‘gidlist at listas.cimne.upc.edu
Subject: gidpost.lib for Intel Visual Fortran Compiler
Hi,
I’m trying to link gidpost.lib in Intel Visual Fortran Compiler but
getting error messages. Could you please tell me if it’s compatible? - It
seems gidpost.lib works in Compaq Visual Fortran though…
I’m using Intel Visual Fortran 11.1 on Microsoft Visual Studio 2008.
Thanks,
Kenji


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
_http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_
-------------- next part --------------
A non-text attachment was scrubbed…
Name: testpostfor.zip
Type: application/octet-stream
Size: 98126 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100908/1162fa77/attachment-0001.obj

Enrique,

Thanks a lot for your help.

The Fortran complier (Intel Visual Fortran 11.1) returns error LNK2010: unresolved external symbol_GID_xxxxx referenced in function_MAIN_…Fatal error LNK1120: unresolved externals at the end.

I’ve converted your Fortran project to Intel VF. It’s working just fine. So it appears that my property setting was wrong. I’ve made the following changes in Project Properties and it seems like gidpost.lib is now linked to the source code just fine.

[Microsoft Visual Studio 2008, Intel Visual Fortran 11.1]

  1. Go to Project - Property
  2. Select Configuration to All Configurations
  3. Go to Linker - General - Additional Library Directories, Type the folder 4) path of gidpost.lib
  4. Go to Linker - Additional Dependencies , Type gidpost.lib
  5. Go to Fortran - External Procedures - Calling Convention, Change from default to CVF (/iface:cvf)

Again, thank you so much. It seems like I forgot to apply these changes to “All configurations” rather than Debug or release.

Regards,

Kenji
-----Original Message-----
From: gidlist-bounces at listas.cimne.upc.edu [mailto:gidlist-bounces at listas.cimne.upc.edu] On Behalf Of Enrique Escolano
Sent: Wednesday, September 08, 2010 10:19 AM
To: gidlist at listas.cimne.upc.edu
Subject: Re: [GiDlist] gidpost.lib for Intel Visual Fortran Compiler

The source code C/C++ is of the GiD post is included in the downloaded zip
http://www.gidhome.com/gid-plus/tools/gidpost
To compile it is necessary off course this kind of language compiler (we are
using on Windows MS Visual C++ 2005 or 2008)

What is happening with our compiled library? It is not possible to link it
or it doesn’t work at runtime?

I attach you a simple Fortran example (testpostfor.f) compiled with Intel
Visual Fortran 10.1.25 on Microsoft Visual Studio 2005 (the project is
included)
a testpostfor.exe program must be created, and running it a
testfortran.post.res GiD postprocess file must be created

Regards

Enrique Escolano

----- Original Message -----
From: “Furui, Kenji” Kenji.Furui at conocophillips.com
To: gidlist at listas.cimne.upc.edu
Sent: Wednesday, September 08, 2010 2:53 PM
Subject: Re: [GiDlist] gidpost.lib for Intel Visual Fortran Compiler


Enrique,
The revised lib file doesn’t work on my machine (Intel Visual Fortran 11.1
/ Visual Studio 2008) neither. I don’t know why it can’t.
Is it possible for me to get the source code of gidpost.lib in the form of
subroutines? It works better for me since I can compile them along with my
source code for our program. Then it should work with no problem on any
Fortran compiler.
Regards,
Kenji


From: Adria Melendo [mailto:amelendo at cimne.upc.edu]
Sent: Monday, September 06, 2010 6:29 AM
To: Furui, Kenji
Subject: Re: [GiDlist] gidpost.lib for Intel Visual Fortran Compiler
Yee, It is possible to use gidpost also with Intel Visual Fortran (at
least I tested it with Intel Visual Fortran 10.1.25 on Microsoft Visual
Studio 2005)
I attach the gidpost.lib library (win x32) that a I am using (I recompiled
the library again from the source code with the appropiated settings to be
linked with this FORTRAN version)
I think that to link you must set the property
Fortran-External procedures -calling convention to ‘default’ or maybe to
CVF (/iface:cvf)
Regards
Enrique Escolano


From: Furui, Kenji
Sent: Friday, September 03, 2010 5:07 PM
To: ‘gidlist at listas.cimne.upc.edu
Subject: gidpost.lib for Intel Visual Fortran Compiler
Hi,
I’m trying to link gidpost.lib in Intel Visual Fortran Compiler but
getting error messages. Could you please tell me if it’s compatible? - It
seems gidpost.lib works in Compaq Visual Fortran though…
I’m using Intel Visual Fortran 11.1 on Microsoft Visual Studio 2008.
Thanks,
Kenji


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
_http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist_

Good afternoon,

When I generate a mesh with GID, automatically GID numbers the nodes and the elements. I have been looking for a option that allow me renumbering the nodes and elements in a way defined for me, but I don’t find it. Is there any way to do that?

Regards.

Arturo Ramón González
Westinghouse Electric Spain
Dpto. Seguridad y Licenciamiento
Padilla 17, 28006 Madrid
Telf: (+34) 91 2106506
Fax: (+34) 91 2106540
E-mail: ramonga at westinghouse.com

-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100916/eda27ae1/attachment.htm

The nodes renumeration algorithm can be set with the variable ‘RenumberMethod’
Accepted values are:
-2 : Avoid nodes and elements renumeration, entities numbers are set increasingly when they are generated.
-1 : Avoid nodes renumeration, nodes numbers are set increasingly when they are generated
0 : Geometrical algorimth, ordered by the distance to some coordinate. It is the default value
1 : Reverse Cuthill-McKee algorimth, similar to the previous one, but following element’s connectivities
2 : ordered following the XYZ axes, interesting for special cases with geometry aligned to the axes


As a trick, you can write a file with GiD mesh ASCII format with your own renumeration, and import this mesh with
Mescape Files MeshRead $filename
but the boundary conditions will be lost.

Maybe we could add for next versions a GiD-Tcl command to user-renumber nodes or elements without delete and create them again.
(something like: GiD_Mesh Renumber nodes|elements {{list of old id’s} {list of new id’s}} )

You can use our AfterMeshGeneration Tcl-GiD event to automatically invoke your own renumeration procedure:

The prototype of this event is this (See GiD Help on Tcl/Tk customization)

proc AfterMeshGeneration { fail } {
}


It exists also an AfterRenumber Tcl-GiD event to let you know the relation between old and new numbers when a renumbering
proc AfterRenumber { useof leveltype renumeration } {
}

AfterRenumber : will be called after renumber the geometry or the mesh (to update for example fields storing entity identifiers)

useof : could be GEOMETRYUSE or MESHUSE
leveltype: the kind of entity that was renumbered.
Geometry: must be ALL_LT.
Mesh: could be NODE_LT or ELEM_LT.
renumeration:
Geometry: four sublists with the old and new idenfiers for points, lines, surfaces and volumes.
Mesh: a sublist with the old and new identifiers for nodes or elements.

Regards

Enrique Escolano

----- Original Message -----
From: Ramon Gonzalez, Arturo
To: gidlist at listas.cimne.upc.edu
Sent: Thursday, September 16, 2010 5:49 PM
Subject: [GiDlist] Numering nodes and elements


Good afternoon,



When I generate a mesh with GID, automatically GID numbers the nodes and the elements. I have been looking for a option that allow me renumbering the nodes and elements in a way defined for me, but I don’t find it. Is there any way to do that?



Regards.



Arturo Ramón González
Westinghouse Electric Spain
Dpto. Seguridad y Licenciamiento
Padilla 17, 28006 Madrid
Telf: (+34) 91 2106506
Fax: (+34) 91 2106540
E-mail: ramonga at westinghouse.com




\


\


GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100916/b28076d9/attachment.htm