<div dir="ltr">Sorry, I forgot to include the error messages I receive:<br><br>When I first try to compile with the IBM XLF90 compiler, I first get the error message about the xcreate_header_file binary<br><br>1501-510  Compilation successful for file exit_mpi.f90.<br>
mpixlf90  -O3 -qsave -qstrict -qtune=450 -qarch=450d -qfree=f90 -qsuffix=f=f90 -qhalt=e -qsigtrap -qinitauto=7Fswap_all,mxm_m1_m2_5points,mxm_m1_m1_5points,mxm_m2_m1_5points -C -qddim -qfloat=nans -qfullpath -o xmeshfem3D j/exit_mpi.o obj/libspecfem.a<br>
mkdir -p OUTPUT_FILES<br>./xcreate_header_file<br>make: *** [OUTPUT_FILES/values_from_mesher.h] Illegal instruction<br><br>Running the ./xcreate_header_file seems to work fine with the required header file being generated in the OUTPUT_FILES subdirectory.  Next, I comment out the call to the xcreate_header_file binary in the main Makefile and rerun make.  The result is a large number of error messages about zero-sized arrays in the following source code files<br>
<br>    compute_forces_crust_mantle.f90<br>    compute_forces_inner_core.f90<br>    compute_forces_outer_core.f90  <br>    write_movie_volume.f90<br><br>with the error messages being<br>.<br>.<br>&quot;./write_movie_volume.f90&quot;, line 425.14: 1511-013 (W) The value of the DO-loop increment should be negative when initial value is greater than the terminal value.<br>
&quot;./write_movie_volume.f90&quot;, line 429.12: 1516-152 (S) Zero-sized arrays must not be subscripted.<br>&quot;./write_movie_volume.f90&quot;, line 431.18: 1516-152 (S) Zero-sized arrays must not be subscripted.<br>&quot;./write_movie_volume.f90&quot;, line 432.28: 1516-152 (S) Zero-sized arrays must not be subscripted.<br>
** write_movie_volume_vector   === End of Compilation 4 ===<br>&quot;./write_movie_volume.f90&quot;, line 495.16: 1511-013 (W) The value of the DO-loop increment should be negative when initial value is greater than the terminal value.<br>
&quot;./write_movie_volume.f90&quot;, line 502.52: 1516-152 (S) Zero-sized arrays must not be subscripted.<br>** write_movie_volume_divcurl   === End of Compilation 5 ===<br>1501-511  Compilation failed for file write_movie_volume.f90.<br clear="all">
.<br>.<br>.<br>The actual offending parameters (after some tracking) are those defined in the header file<br><br>    ./OUTPUT_FILES/values_from_mesher.h<br><br>and include<br>   <br>   NSPEC_CRUST_MANTLE, NSPEC_OUTER_CORE, NSPEC_INNER_CORE<br>
<br>It looks like I am missing an important configuration step or datafile.  Any assistance would be greatly appreciated.<br><br>Thank you,<br>Mark Cheeseman<br><br><br>-- <br>Mark Patrick Cheeseman<br><br>Research Scientist<br>
KSL (KAUST Supercomputing Laboratory)<br>Building 1, Office #126<br>King Abdullah University of Science &amp; Technology<br>Thuwal 23955-6900<br>Kingdom of Saudi Arabia<br>         <br>EMAIL   : <a href="mailto:mark.cheeseman@kaust.edu.sa">mark.cheeseman@kaust.edu.sa</a><br>
PHONE : +966   (2) 808 0221 (office)<br>               +966 (54) 470 1082 (mobile)<br>SKYPE : mark.patrick.cheeseman<br>
</div>