<div dir="ltr"><div>Hi,<br><br></div>I have recently installed petsc-3.7.5. However, while linking petsc with my code, I get the following compilation error:<br><br>/home/bikashk/softwares/femdft_softwares/petsc/opt_3.7.5_mvapich2_64bit_complex/include/petscdraw.h(335): error: identifier "jmp_buf" is undefined<br>  PETSC_EXTERN jmp_buf PetscXIOErrorHandlerJumpBuf; <br><br><br>I used the following configure options while compiling petsc:<br>./configure --prefix=/home/bikashk/softwares/femdft_softwares/petsc/opt_3.7.5_mvapich2_64bit_complex --with-debugging=no --with-scalar-type=complex CFLAGS="-O3 -xcore-avx2" CXXFLAGS="-O3 -xcore-avx2" --with-mpi-dir=/opt/mvapich2/intel/ib/ -with-blas-lib="-Wl,--start-group /opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_intel_lp64.a  /opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_sequential.a /opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm" --with-lapack-lib="-Wl,--start-group /opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_sequential.a /opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm" --with-cxx-dialect=C++11<br><br clear="all"><div><div>I would really appreciate any help on how to fix it.<br><br></div><div>Thanks,<br></div><div>Bikash<br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div><div><font color="#666666">Bikash S. Kanungo<br></font></div><font color="#666666">PhD Student<br></font></div><font color="#666666">Computational Materials Physics Group<br></font></div><font color="#666666">Mechanical Engineering <br></font></div><font color="#666666">University of Michigan<br><br></font></div></div>
</div></div></div>