User Profile

Collapse

Profile Sidebar

Collapse
urkel
urkel
Last Activity: Feb 10 '08, 04:25 PM
Joined: Jul 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • urkel
    started a topic Measuring time of each program segment
    in C

    Measuring time of each program segment

    Dear all,
    I write a code in C and run it on Linux using icc compiler. However, there are too many iterations in the program and it takes so much time to complete just one run of the program (more than 3 days). Is there any special library function, command or subroutine that can be used to monitor the computing time of the program execution, that is to check which particular part of the program (which iteration) that takes the largest amount...
    See more | Go to post

  • urkel
    started a topic random number generators
    in C

    random number generators

    Hello everybody,
    I have these errors on C program that may be because of random number definition. I use an SSH to compile C like in Linux. May be you have idea whether the errors are due to the random number generators in my program do not match those available from libraries in the SSH. My C program uses these libraries
    [code=c]
    #include<stdio. h>
    #include<stdlib .h>
    #include<math.h >
    #include<assert .h>...
    See more | Go to post
    Last edited by sicarie; Aug 9 '07, 12:59 PM. Reason: Code tags are to the right when you start/reply to a post. Please use them.

  • urkel
    replied to errors with definition of main program
    in C
    The main program ends after the 2 dashed-lines before /* with the user defined function*/
    fortran 90 subroutine 'surfGF4' is my own fortran code, it uses no fortran library functions at all
    I have checked that all the user-defined functions have been called at least once from the main program. The reason is, I am worried if one or more of these user-defined functions is not called by the main at least once, then the compiler will think...
    See more | Go to post

    Leave a comment:


  • urkel
    started a topic errors with definition of main program
    in C

    errors with definition of main program

    Hello everybody,
    I am getting bogged-down by these errors troubling me for the last few days
    I am writing a C program with a main and several user-defined functions. One of the user-defined functions calls a Fortran 90 subroutine.
    The main definition is as follows

    void selfenerg(real, int); /*declaration of function selfenerg*/

    int main (int argc, char **argv)
    { ............... ......
    See more | Go to post

  • urkel
    started a topic error: expression must have pointer-to-object type
    in C

    error: expression must have pointer-to-object type

    Hi everyone,
    I critically need help to solve this problem related to pointer in C++
    Basically, I have a C/C++ program "retardselfener g" calling a Fortran 90 subroutine "surfGF4.f9 0". i am so doubtful if my definitions of pointer variables and their use in calling function are correct.

    #include<bla bla bla......h>
    #include<bla bla bla.h>

    double surfGF4_(double *, double*,...
    See more | Go to post
No activity results to display
Show More
Working...