Hello,
I am attempting to change the buffering of my output to line buffering instead of full buffering. I need this because I keep having problems with machines restarting which makes me lose data because it is all sitting in a buffer. I am trying to use setvbuf3f to accomplish this. I can...
Is there a way to make a function/subroutine atomic? I am attempting to create mutex like structures within Fortran but for them to be proper I need to use atomic function calls.
I have defined two simple types in a module in Fortran 95. The types are defined as:
TYPE :: SPINVECTOR
DOUBLE PRECISION, dimension(0:3,1:3,1:3,1:3) :: x, y, z
END TYPE SPINVECTOR
TYPE :: IVECTOR
integer :: x, y, z
END TYPE IVECTOR
I am then using these types to pass information from the...
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.