Re: [Mplapack-devel] FW: Fortran examples
Status: Pre-Alpha
Brought to you by:
nakatamaho
From: Fletcher, J. P <j.p...@as...> - 2011-04-01 08:59:06
|
Nakata Maho I was looking at the choice last night. I think I am going to use mpfr (mpreal C++ interface) and mpcomplex. I needed to reorder the libraries, -lmpc before -lmpfr as a test case was not linking properly. I had copied MPFRLIBS in the examples/mlapack Makefile. There does not seem to be an operator<< in mcomplex but it should not be much work for me to make one. I am using gfortran, so plan to follow the MAGMA style to make an interface, but I will start with some C++ examples with MPACK to get a better understanding. I am more familiar with LAPACK than MPFR. You will find I am quite active at the moment on the MAGMA forum. Are you in touch with Goto Kazusige? There is unfortunately a bug of some sort in the Nehalem version of GotoBlas2 which means that safe operation requires use of the 4 core version even on an 8 core machine. It does not look as though maintenance is being done any more on the distribution site. I don't have full details but can get them if needed. Best wishes John Fletcher Dr John P. Fletcher Tel: (44) 121 204 3389 (direct line), FAX: (44) 121 204 3678 Chemical Engineering and Applied Chemistry (CEAC), Associate Dean - External Relations, School of Engineering and Applied Science (EAS), Aston University, Aston Triangle, BIRMINGHAM B4 7ET U.K. -----Original Message----- From: Maho NAKATA [mailto:mah...@gm...] On Behalf Of Maho NAKATA Sent: 01 April 2011 01:32 To: Fletcher, John P Cc: mpl...@li... Subject: Re: [Mplapack-devel] FW: Fortran examples Hi Fletcher, Oh you're developing MAGMA! Great. It is very fast on C2050. Anyway, interface to FORTRAN77 would be impossible, but FORTRAN90 or 95 might be possible. Which MP library do you want to use? GMP, MPFR, QD? thanks, Nakata Maho From: "Fletcher, John P" <j.p...@as...> Subject: [Mplapack-devel] FW: Fortran examples Date: Thu, 31 Mar 2011 13:05:04 +0100 > Maho > > On thinking about it, it was the wrong question to ask as the structure is such that C++ types will not have equivalents in FORTRAN. The problem is that I want to adapt some code which is in FORTRAN so I am going to have to find some way to interface the two. I am working with MAGMA (LAPACK for GPGPUs see http://icl.cs.utk.edu/magma/index.html) and I have to interface FORTRAN to C++ there. > > Thank you > > John > > Dr John P. Fletcher Tel: (44) 121 204 3389 (direct line), FAX: (44) 121 204 3678 > Chemical Engineering and Applied Chemistry (CEAC), > Associate Dean - External Relations, > School of Engineering and Applied Science (EAS), > Aston University, Aston Triangle, BIRMINGHAM B4 7ET U.K. > > > > -----Original Message----- > From: Maho NAKATA [mailto:ch...@ma...] > Sent: 31 March 2011 03:33 > To: Fletcher, John P > Cc: mpl...@li... > Subject: Re: [Mplapack-devel] Fortran examples > > Hi Fletcher, > > From: "Fletcher, John P" <j.p...@as...> > Subject: [Mplapack-devel] Fortran examples > Date: Wed, 30 Mar 2011 14:07:36 +0100 > >> I have just started using MPACK and successfully installed it on Ubuntu Linux 10.4 (64 bit). > > Congratulations! > >> Please, are there any examples in FORTRAN available? > > Unfortunately, no... > > thanks > -- Nakata Maho http://accc.riken.jp/maho/ , JA OOO http://ja.openoffice.org/ > http://blog.goo.ne.jp/nakatamaho/ ,GPG: http://accc.riken.jp/maho/maho.pgp.txt > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Mplapack-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplapack-devel > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Mplapack-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplapack-devel > |