hi, everyone
I am running many parallel programs, and for each time I need to update the same
file from time to time. Before one program reaches the file, i have to garantee the other simulations are not updating it. So does anyone know how to check the file' status before reach it? And how to make a short pause until the other simulations finishe the updating?
Thanks a lot!!!
han
User Profile
Collapse
-
file status question
hi, everyone
I am running many simulations, but need to update the same file from time to time.
Before one simulation reach the file, i have to garantee the other simulations are not updating the file. So does anyone know how to check the file' status before reach it? And how to make a short pause if the other simulations are updating it?
Thanks a lot!!!
han -
Call Frotran subroutines by Python Using C++ interface
hey, there
I am new to Python and C++. Now I am trying to call some fortran subroutines in python code. I was told the good way is to write a c++ interface. I am not quite sure how to do it.
For example, in the following case:
I want to call fortran subroutine "realadd" from python , i wrote the following
codes, it seems it far from working. Is there anyone can help me out?
thanks a lot!... -
Call Fortran subroutines by Python Using C++ interface
hey, there
I am new to Python and C++. Now I am trying to call some fortran subroutines in python code. I was told the good way is to write a c++ interface. I am not quite sure how to do it.
For example, in the following case:
I want to call fortran subroutine "realadd" from python , i wrote the following
codes, it seems it far from working. Is there anyone can help me out?
thanks a...
No activity results to display
Show More