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

    Help with headers in fortran

    Thank you gummibaer, that was it, it should be in the format: program myprogram include 'mpif.h' print *, "Hello" end program myprogram Thank you!
  2. anmorgan

    Help with headers in fortran

    That was not my intention. It just bugs me when someone starts theorizing the solution before they know the problem (its happened to me a lot on forums). If you were offended by comments I'm sorry. Everyone has the ability to improve, especially me :) On that note, probing questions are better...
  3. anmorgan

    Help with headers in fortran

    No that is not correct. I don't know why you would assume something like Open MPI would do something like that and I checked, it's only declarations. I'm not sure why forums like to theorize about solutions. I appreciate the feedback, but please don't off of assumptions. I'm probably missing...
  4. anmorgan

    Help with headers in fortran

    Thanks for the responses. I'm specifically trying to use OpenMPI with fortran and they have a "mpif.h" header (in fortran), so the header is not in my control. The error I'm getting is if I include or even past the content of the header at the top of my code, which also has an include, the...
  5. anmorgan

    Help with headers in fortran

    So I will start out this generically and explain my specific task if needed. In general if I have a .h file in fortran, how do I include it properly, assume f77. Some background on environment: Windows 7 using cygwin compiling with x86_64-w64-mingw32-gfortran.exe for 64-bit compilation. thanks

Part and Inventory Search

Back
Top