This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Hsie, re: > I have trouble compile mcidas2009 on a SUN Solaris x86_64 machine > (stratus.al.noaa.gov). Attached is the makelog file. Could you please > take a look at the make output and give me some instructions. ... > ./mccomp -O -vendor -I. -I../netcdf/libsrc -I../hdf/hdf/src > -I../hdf/mfhdf/libsrc -I../jpeg -I../libpng -I../zlib -I../tiff/libtiff > -I../libgeotiff -I../jasper/src/libjasper/include -I../g2clib -c convdlmc.c > mccomp: Using default optimizations > rm -f convdlmc.o > -c -O0 -I. -I../netcdf/libsrc -I../hdf/hdf/src -I../hdf/mfhdf/libsrc > -I../jpeg -I../libpng -I../zlib -I../tiff/libtiff -I../libgeotiff > -I../jasper/src/libjasper/include -I../g2clib -I/usr/dt/include > -I/usr/openwin/include -I/usr/local/include convdlmc.c > ./mccomp: -c: not found > compile convdlmc.c: FAILED When I logged onto stratus to investigate the cause of the compilation failure, I found that your Fortran compiler does not like the '-xarch=' flag. I changed the setting in ~mcidas/.cshrc to: setenv MySQL_ROOT /usr/local/mysql #setenv XARCH "-xarch=m64 -U__x86_64__" setenv XARCH "-m64 -U__x86_64__" to follow guidelines I read in the man page for f95 (f77 actually runs f95 with some flags set). I then logged off and logged back on to force the revised settings to become active. I found that I had to 'clobber' the previous attempt at the build since the C source code had been compiled in 32-bit mode (related to the '-xargs=' setting in ~mcidas/.cshrc). As I write this note, the compilation is proceeding: the error seen when trying to build 'convdlm' is gone. I will leave the build running to see if any new errors arise. Cheers, Tom -- **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: JRK-547142 Department: Support McIDAS Priority: Normal Status: Open