Quantcast

Problem building dll in R-2-15-1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Problem building dll in R-2-15-1

Le Roux, NJ, Prof <njlr@sun.ac.za>

I am using R-2-15-1 with latest version of RTools under Windows 7 on a 64bit machine. When trying to build a dll from a simple test program matm.f  I get the following error:

> R CMD SHLIB matm.f

gfortran  -O3  -mtune=core2  -c  matm.f  -o  matm.o

f951.exe: out of memory allocating 312 bytes
make: *** [matm.o]  Error 1

Can someone please help

NJ







________________________________

E-pos vrywaringsklousule Hierdie e-pos mag vertroulike inligting bevat en mag regtens geprivilegeerd wees en is slegs bedoel vir die persoon aan wie dit geadresseer is. Indien u nie die bedoelde ontvanger is nie, word u hiermee in kennis gestel dat u hierdie dokument geensins mag gebruik, versprei of kopieer nie. Stel ook asseblief die sender onmiddellik per telefoon in kennis en vee die e-pos uit. Die Universiteit aanvaar nie aanspreeklikheid vir enige skade, verlies of uitgawe wat voortspruit uit hierdie e-pos en/of die oopmaak van enige l?ers aangeheg by hierdie e-pos nie. E-mail disclaimer This e-mail may contain confidential information and may be legally privileged and is intended only for the person to whom it is addressed. If you are not the intended recipient, you are notified that you may not use, distribute or copy this document in any manner whatsoever. Kindly also notify the sender immediately by telephone, and delete the e-mail. The University does not accept l!
 iability for any damage, loss or expense arising from this e-mail and/or accessing any files attached to this e-mail.

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem building dll in R-2-15-1

Uwe Ligges-3


On 24.07.2012 13:11, Le Roux, NJ, Prof <[hidden email]> wrote:

>
> I am using R-2-15-1 with latest version of RTools under Windows 7 on a 64bit machine. When trying to build a dll from a simple test program matm.f  I get the following error:
>
>> R CMD SHLIB matm.f
>
> gfortran  -O3  -mtune=core2  -c  matm.f  -o  matm.o
>
> f951.exe: out of memory allocating 312 bytes
> make: *** [matm.o]  Error 1
>
> Can someone please help

No, we do not have matm.f, so nobody here can debug your code.

Best,
Uwe Ligges


>
> NJ
>
>
>
>
>
>
>
> ________________________________
>
> E-pos vrywaringsklousule Hierdie e-pos mag vertroulike inligting bevat en mag regtens geprivilegeerd wees en is slegs bedoel vir die persoon aan wie dit geadresseer is. Indien u nie die bedoelde ontvanger is nie, word u hiermee in kennis gestel dat u hierdie dokument geensins mag gebruik, versprei of kopieer nie. Stel ook asseblief die sender onmiddellik per telefoon in kennis en vee die e-pos uit. Die Universiteit aanvaar nie aanspreeklikheid vir enige skade, verlies of uitgawe wat voortspruit uit hierdie e-pos en/of die oopmaak van enige l?ers aangeheg by hierdie e-pos nie. E-mail disclaimer
 l!

>   iability for any damage, loss or expense arising from this e-mail and/or accessing any files attached to this e-mail.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Problem building dll in R-2-15-1

Peter Dalgaard-2

On Jul 24, 2012, at 20:24 , Uwe Ligges wrote:

>
>
> On 24.07.2012 13:11, Le Roux, NJ, Prof <[hidden email]> wrote:
>>
>> I am using R-2-15-1 with latest version of RTools under Windows 7 on a 64bit machine. When trying to build a dll from a simple test program matm.f  I get the following error:
>>
>>> R CMD SHLIB matm.f
>>
>> gfortran  -O3  -mtune=core2  -c  matm.f  -o  matm.o
>>
>> f951.exe: out of memory allocating 312 bytes
>> make: *** [matm.o]  Error 1
>>
>> Can someone please help
>
> No, we do not have matm.f, so nobody here can debug your code.

Or, put differently, there's no widely known general issue of that sort on that platform, so the issue is likely that the test program is not as simple as you think.

If you suspect a compiler problem, you might try running the gfortran line by hand with simplified options, i.e.,

gfortran -c matm.f

--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: [hidden email]  Priv: [hidden email]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Loading...