Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. econ2008

    Combining Arrays of different shape??

    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...
  2. econ2008

    Combining Arrays of different shape??

    Ok! Thank you I think now I got it.
  3. econ2008

    Combining Arrays of different shape??

    Ok thanks so far, but am I right that hmax is then a matrix filled with the same number because of the "count"?
  4. econ2008

    Combining Arrays of different shape??

    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...
  5. econ2008

    Confused with linux makefile, ifort and mkl

    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!
  6. econ2008

    Confused with linux makefile, ifort and mkl

    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...
  7. econ2008

    Confused with linux makefile, ifort and mkl

    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...
  8. econ2008

    Poisson random number generator

    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
  9. econ2008

    Poisson random number generator

    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...

Part and Inventory Search

Back
Top