Re: [OMPI users] Multiple connections to MySQL vi MPI

2016-08-08 Thread Gilles Gouaillardet
What if you run mpirun -np 1 mysqlconnect on your frontend (aka compilation and/or submission) host ? does it work as expected ? if yes, then this likely indicates a MySQL permission/configuration issue. for example, it accepts connections from 'someUser' only from one node, or maybe mysqld

[OMPI users] Multiple connections to MySQL vi MPI

2016-08-08 Thread alev mutlu
Hello, I am trying to connect to MySQL with the following if (!mysql_real_connect(connection,server,user,password,database, 0, NULL, 0)) { printf("Conection error : %s\n", mysql_error(connection)); exit(1); } The code compiles with g++ and works fine. It compiles with mpicxx as