As a user not root, I often had to build from source, as the packagers did not allow relocation under my home dir or even execution not by root. The script 'configure' has options to suport this.
As a user not root, I often had to build from source, as the packagers did not allow relocation under my home dir or even execution not by root. The script 'configure' has options to suport this.
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
I use 3 Fortran compilers:
on
I installed all as binary. The first is the usual gfortran; I have not tried to install that in other than the system. I usually install the GNU compilers on most systems that I use. The second is the Intel Fortran compiler; this must be licensed, but a personal, non-commercial license has been available. The third has been a very good, free compiler. I installed ifort and g95 as binary, and NOT in the system, although it required a few soft links to get them running as though they were on the system. I generally do not install software into the system, unless it is through the package managers. The latter two above were installed in an area controllable by me (/opt), so I think installing somplaceinto one's home directory structure could be done.
I don't recall using the "outside" compilers with large libraries, like IMSL or NAG, and my guess is that you might need to compile such items with the appropriate compiler, but I don't know for certain.
If I had to suggest a starting place in your situation, I'd say look at g95.
Doing a source build requires a C or C++ compiler, depending on the Fortran distribution you chooose. Porting g++ requires a C compiler. Most UNIX systems have one.
Some binary distributions are in more flexible tar form, and do not need root, just unppack them in a subdir of your home dir.
There is a fortran to JAVA, and JAVA apps can be run even without windows local admin (but JAVA language install has to be done by admin empowered user).
What would be an accurate and efficient computation of the p-norm in Fortran?
Integer :: p
Real :: sum, pn
Do i = 1, Size (a)
sum = sum + ((Abs a(i)) ** p)
End Do
pn = sum ** (1.0/ Real(p)) (0 Replies)
Hello everyone,
I am trying to re-install quantum espresso-4.3 on the University's LINUX interface (because of a recent crash and I lost most of my files).
when I " ./configure ", It is giving an error stating that :
checking building system type... x86_64-unknown-linux-gnu
checking... (7 Replies)
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Hi!
I have a program in fortran77. This program was compiled with pgf90, but now, I need compiled it with gfortran.
I show a bit of code.
program hello
PARAMETER(a=100)
integer a
write(*,*)'value ', a
end program hello
What's the problem?
Thanks (2 Replies)
Can anyone recommend a very good Fortran online course for unix. It should also cover Fortran X11 programming if possible. I understand this learning cannot be rushed but a course that addresses useful topics sooner is best. If it isn't free, that's okay. (1 Reply)
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)