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

    Problem with stack overflow

    So, how would I solve this overflow problem ? Thanks.
  2. armeros

    Problem with stack overflow

    Hi everyone, I have an error message forrtl: severe(170): Program exception - stack overflow My program is doing some grid search. It ran fine with a small number of grids, but then I got this message when I increase the number of grids to the realistic level. I read the topic...
  3. armeros

    Run time error

    Do we need more than one single computer (or single processor) to do this ?
  4. armeros

    Run time error

    I should be more specific about pseudo code PROGRAM test IMPLICIT NONE REAL, PARAMETERS :: a,b,c REAL, DIMENSION (250,250,2,250,250,250) :: X,Y DO i=1,250 DO j = 1,250 DO ii=1,2 ...
  5. armeros

    Run time error

    zI tried to read these two links and it is still not clear to me how I can use openMP with my compilers. https://software.intel.com/sites/products/documentation/doclib/stdxe/2013/composerxe/compiler/fortran-mac/GUID-0E85F327-A19E-410C-8203-0A89C8F32635.htm...
  6. armeros

    Run time error

    I use Intel Visual Fortran Compiler(it runs under Microsoft Visual Studio 2008). My computer is 32-bit, Windows 7. However, I need help from IMSL libraries. I don't know how to incorporate the libraries in GFortran. (For GFortran, I used Geany compiler.)
  7. armeros

    Run time error

    No, and I heard that it is quite complicated ? I will take a look at OpenMP tomorrow and see what it is. Does it require an installation of other softwares ? Thanks for all helps here.
  8. armeros

    Run time error

    It seems I have to find a better way to write the code. The loop takes more than 1, maybe 2 or 3, to complete. In the less elements version, it took 160 loops to finish. It will be more than 6 days and I can't wait that long since this is only the first part of the code.
  9. armeros

    Run time error

    mikrom, I used your suggestion, and it can run, but it takes time so long that I wonder if it is still running. When I do (30,30,2,30,30,30) (AND I DID NOT USE MULTIDIMENSIONal ARRAYS!), each loop is about 4 seconds. When I do (250,250,2,250,250,250), the first loop takes 1 hour and it still...
  10. armeros

    Run time error

    I have 6 GB of rams, but it still cannot run when I declared that high.
  11. armeros

    Create 250^4 or 250^5 elements-arrays

    mikrom, I really appreciate your help. All I need to do is just to fix the indices.
  12. armeros

    Run time error

    Oh goshhhh salgerman , you are absolutely amazing! By the way, what about "not a valid Win32 application" ? When I declare A(48,48,2,48,48,48) it has this error. But when I declare A(20,20,2,20,20,20) it can run. What could it be ? I'd like to thank you for your suggestion in this and...
  13. armeros

    Run time error

    I am wondering what R is. My program does not contain the array of such name. I did have array "r" (small r, not R) with one dimension, two elements, i.e., a vector of 2 elements. However, I will try to look for it. Thanks for the suggestion.
  14. armeros

    Run time error

    I used Intel Visual Fortran Compiler.
  15. armeros

    Run time error

    Hi guys, Perhaps I need some help again. My program can compile but it generate run time error. The message is "C:\Console1\Console1\Debug\Console1.exe is not a valid Win32 application" When I reduce the number of elements in arrays, it said What is the bug I should look for ? Thanks a lot.
  16. armeros

    Create 250^4 or 250^5 elements-arrays

    This seems to be a good way to try. I will try to do this. Thank you very much.
  17. armeros

    Create 250^4 or 250^5 elements-arrays

    To salgerman, xwb Actually, the actual code is not this simple just to choose the largest element from A. I need part of the A matrix to do some matrix operation, i.e. REAL, DIMENSION (250,250) :: B A(i,:,j,jj) + B(j,:) (Sorry I did not show you my actual code since it would be too long...
  18. armeros

    Create 250^4 or 250^5 elements-arrays

    To xwb, Suppose the working code look like this. REAL, DIMENSION :: A(250,250,250,250) A=0.0 DO i=1,250 DO j=1,250 DO jj=1,250 DO ii = 1,250 x=f(i,ii,j,jj) !f is some function...
  19. armeros

    Create 250^4 or 250^5 elements-arrays

    Uh Oh I have no idea on how to work only a portion. It seems that I cannot avoid declaring things like REAL, DIMENSION(250,250,250,30) :: A1 REAL, DIMENSION(250,250,250,30) :: A2 ... REAL, DIMENSION(250,250,250,30) :: A8 REAL, DIMENSION(250,250,250,10) :: A9 What is worse is that the arrays...
  20. armeros

    Create 250^4 or 250^5 elements-arrays

    The algorithm is called the gridsearch method.

Part and Inventory Search

Back
Top