Hey,
just another problem occured now. In the code the following is defined:
INTEGER :: dpi(2)
REAL(WP), DIMENSION(:,:) :: ap,ap1
the following operation is done:
dpi=maxloc(abs(ap1-ap))
dp=ap1(dpi(1),dpi(2))-ap(dpi(1),dpi(2))
Do I understand it right, that dpi(1) is the row where...
Hello!
I have a question concerning the combination of scalars and arrays. In the code i am working with the following is defined (in parentheses of what dimension i think those are):
REAL(WP), DIMENSION(:), INTENT(IN) :: a (vector)
INTEGER, ALLOCATABLE, DIMENSION(:,:) :: hmax (2D...
Hey!
THANK YOU! It worked, after I did that and I found by accident, a file where someone added the option --always-make. That also worked fine for me. The resulting program delivers correct solutions!
Thanks a lot!
Thanks for your fast reaction.
when I first enter make -n -f makefile.unix i get:
makefile.unix:10: *** missing separator. Stop
Then I insert a tab in the line and it comes:
makefile.unix:10: *** commands commence before first target. Stop.
Entering make -n delivers:
makefile:29: *** missing...
Hello Everybody!
Well, I've got some serious problems with a code (program). I am using ubuntu 10.04 and installed the latest intel fortran composer with mkl ifort.
The program is organized in the following structure:
Folder
makefile
makefile.unix
makefile.windows
Subfolder1...
Hey!
First of all thank you for your fast answers! It seems I first have to learn a bit more about the basics in Fortran.
Especially about subroutines, functions and modules.
Thank you, and I will post a thread when I run into new problems (and I know that I will!).
econ
Hello everybody!
I started to learn Fortran 95/2003, because I want to program a model in the field of economics.
As far as I have understood, the random number generator in Fortran only calculates uniform distributed random numbers.
I know on the one hand that I can calculate any other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.