10 More Discussions You Might Find Interesting
1. Programming
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)
Discussion started by: kristinu
0 Replies
2. Programming
I am writing some code in fortran that defines certain shapes.
Currently I have a cuboid and a prism. Now a parallelepiped is both a cuboid and a prism. Is there a way to code this?
Currently I only have
Type, Extends (Cuboid) :: Parallelepipied
How can I do so that Parallelepipied is... (3 Replies)
Discussion started by: kristinu
3 Replies
3. Shell Programming and Scripting
Need assistance in Fortran Compiler
I need to install Fortran compiler on Linux distribution . I don't have root access to use rpm or yum to install compiler . Is there any way I can get it ?
Are there any sites that has fortran compiler . Any links to download and install . (10 Replies)
Discussion started by: ajayram_arya
10 Replies
4. Shell Programming and Scripting
Hi All I am trying to convert some Fortran subroutine to awk function , those who know kindly explain how to define function in awk, and how to call function
Fortran subroutine looks somewhat like this
SUBROUTINE GDATE (JD, YEAR,MONTH,DAY)
C
C---COMPUTES THE GREGORIAN CALENDAR DATE... (5 Replies)
Discussion started by: Akshay Hegde
5 Replies
5. Programming
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)
Discussion started by: kekaes
2 Replies
6. Programming
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)
Discussion started by: gav2251
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a FORTRAN code that I want to compile using F90 compiler. However,
when I enter the command:
f90 ./code.f -o ./code.out
It would give me prompt saying that absoft license has failed, or something.
I remember, however, that I could enter some keyword that ends with 'soft'
in... (1 Reply)
Discussion started by: Iamthe great
1 Replies
8. Shell Programming and Scripting
I have the following script:
df > df.txt
scp df.txt username@192.168.1.2:~
rm df.txt
Its purpose is: Send disk space usage report to another machine
Because it is now included in a shell script that is invoked by a cron, it makes maintenance harder. I would like it to be on a single line... (5 Replies)
Discussion started by: figaro
5 Replies
9. Linux
Hi everybody:
Could anybody help me where could I download Fortran 90 complier?
Thanks in advance. :) (2 Replies)
Discussion started by: tonet
2 Replies
10. Shell Programming and Scripting
All,
I have an file in the xml format which looks like this
<source>Please wait. This may take several minutes...</source>
<translation>Please wait. This may take several minutes...</translation>
<source>Your computer must be restarted to complete setup.\nClick on 'OK' button to... (4 Replies)
Discussion started by: vino
4 Replies