User Profile

Collapse

Profile Sidebar

Collapse
hanhaner
hanhaner
Last Activity: May 25 '07, 07:28 PM
Joined: Mar 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hanhaner
    started a topic file status question
    in C

    file status question

    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
    See more | Go to post

  • hanhaner
    started a topic file status question

    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
    See more | Go to post

  • hanhaner
    started a topic Call Frotran subroutines by Python Using C++ interface
    in C

    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!...
    See more | Go to post

  • 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...
    See more | Go to post
No activity results to display
Show More
Working...