[Trilinos-Users] Epetra on TACC's Stampede

Gyorgy Matyasfalvi matyasfalvi at gmail.com
Sun May 11 17:41:53 MDT 2014

Dear User Community:

I have already created a TACC ticket regarding this issue but I'm curious
if anyone has successfully used Epetra on Stampede?

The code below segfaults when computing the sup-norm:

#include <iostream>
#include "mpi.h"
#include "Epetra_MpiComm.h"
#include "Epetra_LocalMap.h"
#include "Epetra_Vector.h"
#include "Epetra_Version.h"
#include "mkl_cblas.h"

#define N 1000

int main(int argc, char* argv[]) {

MPI_Init(&argc, &argv);

Epetra_MpiComm comm(MPI_COMM_WORLD);

std::cout<<Epetra_Version()<<std::endl<<std::endl<<"### TEST

Epetra_Map map(N,0,comm);

std::cout<<"Map created"<<std::endl;

Epetra_Vector x(map);

std::cout<<"Vector created"<<std::endl;

double norm;

std::cout<<"sup-norm of x = "<<norm<<std::endl;


return 0;


I get the following error message when debugging with ddt:

Process 0:

Memory error detected in mkl_blas_avx_idamax from

null pointer dereference or unaligned memory access

Note: the latter may sometimes occur spuriously if guard pages are enabled

Tip: Use the stack list and the local variables to explore your program's
current state and identify the source of the error.


Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20140511/b1188c5f/attachment.html>

More information about the Trilinos-Users mailing list