On Jun 9, 2013, at 5:50 PM, Fabio Mathias Corrêa wrote: > Dear prof. Brian Ripley, > > Thanks for help! > > I compiled using the command: > > > MAKEFLAGS="FCFLAGS=-fopenmp" R CMD SHLIB hello.f90 >
Obviously, that won't work. Not only are you abusing MAKEFLAGS for something that it's not designed to (please consider reading the manual and set the proper PKG_* flags instead), but you fail to link with openmp. Also even if you link properly, depending on the runtime you may need R configured with openmp support as well. Again, please read the manual about how to use the proper *_OPENMP_* flags (go figure, the section mentioning all this is even named "OpenMP support" ;)). Cheers, S > > I use linux mint Maya, R 3.0.1 and gfortran 4.6.3. > > Thanks, > > > Fábio Mathias Corrêa > > > Universidade Estadual de Santa Cruz > Departamento de Ciências Exatas e da Terra - DCET > Campus Soane Nazaré de Andrade, km 16 Rodovia Ilhéus-Itabuna > CEP 45662-900. Ilhéus-Bahia > > > Tel.: 73-3680-5076 > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel