Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
88 Views

Fortran - "Print" command doesn't work in deeper levels of callings of subroutines

Hi, please can you help me?

I'm using Intel Parallel Studio 2015 with Visual Studio 2015 and in my algorithm written in Fortran I noted that when I call a second subroutine inside a first subroutine, the print command inside the second subroutine doesn't work, it only works in the first subroutine. Is that right? Is there any way to make it work for any level of calling?

Thanks in advance

0 Kudos
3 Replies
Highlighted
Valued Contributor II
88 Views

That doesn't sound right at all - can you reproduce it in a small postable program?
 

0 Kudos
Highlighted
Beginner
88 Views

Yes Arjen, you are right. There were some errors in the algorithm. I made the corrections and now the the program is printing everything in all subroutines :)  . Thank you very much for you attention!

0 Kudos
Highlighted
Valued Contributor II
88 Views

Glad you were able to solve it. Sometimes you see the opposite: the program does not work and if you add an output statement it suddenly seems to do fine :).

0 Kudos