VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Fortran compiler (5.9)  (Read 2420 times)

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Fortran compiler (5.9)
« on: February 10, 2008, 08:41:45 pm »

I will be building R for the repo, but would need a fortran compiler for that.

From the R FAQ: "Note that you need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R."

Now, what exactly is the best or fastest or smallest compiler, I have no clue. Anyone willing to compile one of these?
(I remember one in the 5.8 repo, but don't remember what it was).

Thank you!
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Fortran compiler (5.9)
« Reply #1 on: February 10, 2008, 08:59:52 pm »

hows this? http://packages.slackware.it/package.php?q=12.0/gcc-gfortran-4.1.2-i486-1

Quote
gcc-gfortran  (fortran  support for GCC)

This package contains those parts of the compiler collection
needed to compile fortran  code.  The base gcc package is also
required.

Its primary base is the ANSI fortran  95 standard, with some
some extensions popularized by the 'f77' and 'f2c' compilers,
other compilers (such as Digital products), and the fortran  90
standard.
Logged

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: Fortran compiler (5.9)
« Reply #2 on: February 10, 2008, 09:21:33 pm »

Logged

nordico

  • Member
  • *
  • Posts: 5
Re: Fortran compiler (5.9)
« Reply #3 on: July 18, 2009, 11:39:14 am »

I'm sorry; I was also looking for a fortrand compiler and downloaded the file, but I don't know how to install it.


I've tried tar comand and then both of the options presented here: http://www.cyberciti.biz/faq/run-execute-sh-shell-script/

When I use the "sh file NAME.sh", the output on the screen says that many files couldn't be found.

If I use the other option, "chmod" command runs fine, but ./NAME.sh returns the same output, yet it does some kind of installation because some more files are added to the folder.


EDIT: I have vector linux 6.0 light editin, if that's important...
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: Fortran compiler (5.9)
« Reply #4 on: July 18, 2009, 02:55:21 pm »

For installing the gnu fortran compiler in VL6.0 you only need to use the package manager. In a terminal as root you can type:

Code: [Select]
slapt-get -i gcc-gfortran
Or find "gcc-gfortran" in Gslapt.

HTH
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

nordico

  • Member
  • *
  • Posts: 5
Re: Fortran compiler (5.9)
« Reply #5 on: July 19, 2009, 07:29:46 am »

Ok, it seems to have worked out. Thank you.
Logged