Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~251 People Reached
Favorite Forums
Favorite Tags
c++ x 4
c x 3
Member Avatar for dm215

Hello, Thanks in advance for any help. I am running a fairly good-sized MPI-C++ code, and I am getting a frustratingly unreproducible segfault. I am also having trouble with gdb (I think because of my MPI implementation), but I think the problem may have something to do with the fact …

Member Avatar for dm215
0
94
Member Avatar for dm215

So here is some sample code: [code] #include<valarray> int main() { std::valarray<double> vec(10); for (size_t i=0; i<11; i++) vec[i] = 1.0; std::valarray<double> vec2(vec); return 0; }[/code] So, in a situation similar to this one, I am segfauting, but not in the loop, rather in the constructor call after the loop. …

Member Avatar for thekashyap
0
157