Recent content by Carlis

  1. C

    AI for editing illustrations

    Hi! I am looking for an AI that can produce publishable illustrations from drawings/sketches. I am working in scientific research, and I have to produce images illustrating various things for my papers. Doing this to high quality is very time-consuming. I would rather just do a simple sketch...
  2. C

    Question C++ weird destructor behavior.

    Thanks for the input. My thought was also that it would be a memory leak. After some reading, and thinking, I realized what the problem is: diagVertex is an inherited class of type diagElement. In some instances, the pointer to v is of type diagElement. When calling the destructor, the call is...
  3. C

    Question C++ weird destructor behavior.

    Hi I have encountered a strange behavior of my c++ code when calling a destructor. Basically, I do the following: I have a pointer to an object v of type diagVertex. Then I delete it: delete v; v=NULL; This should call the destructor of diagVertex: diagVertex::~diagVertex() {...
  4. C

    MPI-- many calls to same process and stability

    Actually, I did not test that approach. MPI is very well designed and incredibly stable (though I know nothing about how it actually works), and I would not be surprised if it did work. However, it strikes me as a bad idea to implement it this way. Whats not to say that it would work for 4k...
  5. C

    MPI-- many calls to same process and stability

    Hi all Sorry for being a prick. Somehow I managed to forget about this post that I made, and I did not see the replies until now. I have had a bit to much work to do lately. Shame on me. So, long story short: I managed to solve this problem by changing the structure of the communication...
  6. C

    MPI-- many calls to same process and stability

    Hi I am writing an application that will use MPI and a large number of processes-- up to 4096 or so. At a certain stage all processes except rank=0 should send some result to process zero. Is there an issue with stability if thousands of processes try to send messages more or less at the same...
  7. C

    Have someone else cash check into you account

    Thanks everyone. Ill ask the bank, and if not possible I will have it sent over seas and use the app. Thanks for pointing that out to me. I will be gone for a long time and I need the money...
  8. C

    Have someone else cash check into you account

    Hi I am expecting a check from my employer, but I will be traveling. Can I have a coworker cash that check into my bank account? Im using bank of america. Thanks // Johan
  9. C

    Share memory parallelisation with independent processes but shared output data in c++

    Hi, thanks for the replies... So I only need to write to the array, not read from it. It appears to me that WM_copy is a microsoft/windows thing? I will be using a linux cluster for this... And no I don't want to store multiple instances of the data. Memory may be cheap but for this...
  10. C

    Share memory parallelisation with independent processes but shared output data in c++

    Hi all, I am developing a simulation tool for a physics problem that I am working on (using c++). Essentially, the computation consists of manipulation of pointer structures that correspond to different physical processes. The output is “events” in time and space, and needs to be stored on a...
  11. C

    Mmemory usage of function in object in c++

    Great! Thanks!
  12. C

    Mmemory usage of function in object in c++

    Hi I am implementing a data structure that consists of a large network of nodes with pointers between them. I am memory bound, so I like to reduce the memory footprint. These nodes are all of the same class. Now, the nodes have some data fields that cost memory. I consider replacing the...
  13. C

    MPI multidimensional arrays

    Oh thats a typo. IR=2 and nothing else. Sorry
  14. C

    MPI multidimensional arrays

    Hi Im passing some multidimensional al arrays over MPI. However, Im struggling with some hangups. Essentially I do static cont int NK=16 static cont int NT=400 static cont int NK=S=4 static cont int NK=IR=2 double SIGMA [NK][NK][NT][S][IR]; ... cout<< MPI_RANK<< " begin...
  15. C

    C++ : The cost of pointers

    Thank you all for your input. I think a good starting point is to read the referred guide. Perhaps I can do some small scale experiments on some select problem to see what happens. Thanks a lot // Carlis