Re: Obtaining libngmath.lib instead of libngmath.a for Visual Studio

From: Romain Fiévet <fievetromain_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 17 2013 - 17:12:19 MST

Hello,

Thanks for you answer.

Starting from the source code of shgrid I spent some time hunting down all
the dependencies you are talking about : 'seter' and 'icfell' call other
subroutines, that also call others subroutines (and so on). As I am only
interested in the routine shgrid I only focused on building a library that
supported this function (so it is not the full ngmath.lib).

The built was finally successful and I am now trying to test the library; I
tried with the example provided (shex01.f) but this code also call a lot of
other subroutines, etc, and it seemed to be an endless process to define
all of them ! So I hope to try soon my own test, I am currently coding it
and I hope it will be successful, I will keep you in touch of the result !

FYI I ended up with a library that possesses the following files :

2 header files

bccom.h
shcomn.h

63 source files

bcbkd.f
bcdp2l.f
bcftol.f
bcgeti.f
bcgetr.f
bcseti.f
bcsetr.f
bcsubd.f
encd.f
entsr.f
eprin.f
errof.f
fdum.f
icfell.f
icloem.f
idblda.f
idbvip.f
idgeti.f
idgetr.f
idgrid.f
idgtcp.f
idlctn.f
idlsqf.f
idpdrv.f
idpltr.f
idptip.f
idseti.f
idsetr.f
idsfft.fr
idtang.f
idxchg.f
idxchn.f
msbsf1.f
msbsf2.f
msceez.f
mskrv1.f
mskrv2.f
msntvl.f
msshch.f
mssrf1.f
mssrf2.f
mstrms.f
nerro.f
q8qst4.f
retsr.f
seblda.f
semess.f
seter.f
sh3grd.f
sh3val.f
sherr.f
shgeti.f
shgetnp.f
shgetnp3.f
shrot.f
shseti.f
shsetup.f
shstore3.f
uliber.f

Thank you for your help,

Romain Fievet

2013/1/16 David Brown <dbrown@ucar.edu>

> Hi Romain,
> Unfortunately we do not support native Windows installations at all. We do
> have support for through Cygwin, but I am guessing that does not work for
> you.
> Possibly we could offer some basic assistance on building from source, but
> only if your problems are not platform-specific. What sort of error
> messages are you getting when you attempt to build from source? If you are
> getting undefined references during the link stage, I can tell you that,
> although our documentation at http://www.ncarg.ucar.edu/ngmath/ claims
> that the ngmath library "is a stand-alone" library, I have noticed that
> there are a few dependencies on the NCARG library. Specifically I noticed
> references to 'seter' and 'icfell' in the shgrid code. These are some error
> handling routines that are located in the ncarg2d/src/libncarg/support
> directory of the NCL distribution (assuming you downloaded the NCL source).
> -dave
>
>
>
> On Jan 16, 2013, at 3:51 PM, Romain Fiévet wrote:
>
> > Hello,
> >
> > I am looking for a 3d interpolation routine in fortran for my research
> in fluid mechanic. Apparently the ngmath library possesses some functions
> that could help me (particularly the Shgrid function).
> >
> > I am working on windows 7 and using Intel Visual Fortran. Therefore the
> downloadable libngmath.a is a format that cannot be loaded, so I was
> wondering if I could find somewhere a .lib library file instead ?
> > I downloaded the source file and try to compile them in VS a .lib file,
> I am currently working on it but I wasn't able to build the library so far.
> I am not even sure if that is easily feasible ?
> >
> > Thank you for your help,
> >
> > --
> > Romain Fiévet,
> > Graduate Student in Aerospace Engineering at The University at Texas at
> Austin,
> > Elève-ingénieur à l'Ecole Centrale de Lille, France
> > _______________________________________________
> > ncl-install mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>

-- 
Romain Fiévet,
Graduate Student in Aerospace Engineering at The University at Texas at
Austin,
Elève-ingénieur à l'Ecole Centrale de Lille, France

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Jan 17 17:12:33 2013

This archive was generated by hypermail 2.1.8 : Sat Jan 19 2013 - 10:26:08 MST