How necessary is it to build the plots subdirectory and NCARG graphics for performance benchmarks?

34 views
Skip to first unread message

alvaroafe...@gmail.com

unread,
Dec 11, 2018, 3:42:50 PM12/11/18
to HYCOM.org Forum
Hi, newbie here. 

I'm interested in running some benchmarks using HYCOM. One of the issues I'm facing is that the download for HYCOM includes ncarg in the plot/ directory, and these seem to require the X11R6 library - which I would need to install. And there isn't a straightforward way I can find to do so.

Why do I think I need the X11R6 library? 

I haven't installed X11R6 yet, and I can't link the object files in plot/ as shown below. My LD_LIBRARY_PATH is broken down below:

[root@localhost src]# echo $LD_LIBRARY_PATH
/opt/rh/devtoolset-8/root/usr/lib64:
/opt/rh/devtoolset-8/root/usr/lib:
/opt/rh/devtoolset-8/root/usr/lib64/dyninst:
/opt/rh/devtoolset-8/root/usr/lib/dyninst:
/opt/rh/devtoolset-8/root/usr/lib64:
/opt/rh/devtoolset-8/root/usr/lib:
/lib64:
/lib:
/usr/local/ncarg/lib

The reason I can't build is easy to see. My ncargf90 is broken; hence my assumption it's about the libraries...
[root@localhost ~]# ncargf90
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lX11
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lXext
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lXrender
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lfontconfig
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lexpat
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status

Now, some of these objects I thought I had!

root@localhost src]# ldconfig -p | grep X11
        libX11.so.6 (libc6,x86-64) => /lib64/libX11.so.6
        libX11-xcb.so.1 (libc6,x86-64) => /lib64/libX11-xcb.so.1

)

But since -lX11 is not findable and yet is in the /lib64 path according to the above, I conclude that I need other objects, which come from the X11R6 library, to compile /plot. 

But do I need to bother with this directory for a performance benchmark or not? Am I completely off-base about needing X11R6? 

alan.wa...@hycom.org

unread,
Dec 11, 2018, 4:09:16 PM12/11/18
to HYCOM.org Forum
It isn't necessary to build hycom/ALL/plot unless you want to use HYCOM's plot programs.  These are not necessary, even if using HYCOM for actual ocean modeling.  You can convert the output to netCDF using programs in hycom/ALL/archive and then use your favorite netCDF plot package for example.

I have a very small pre-packaged benchmark that uses nothing from hycom/ALL.  Download https://drive.google.com/open?id=0BxdbYKKvou9KbldYUi1mOUR2V28

This is a small 500x382 region.  The DoD HPC benchmark suite includes a 9000x6952 case that runs on thousands of cores.  I also have a 4500x3298 benchmark for 500 to 4000 cores.  Let me know if you would like either of these.

Alan.

alvaroafe...@gmail.com

unread,
Dec 11, 2018, 4:29:59 PM12/11/18
to HYCOM.org Forum
Thanks Alan,

I really appreciate the offer. 

Please note these results would be in a white paper.Let me know if there are any issues or legal restrictions with publishing results. 

I have access to a cluster with up to 1024 cores. So the very small pre-packaged benchmark, as well as the 4500x3298 benchmark for 500-4000 cores, would be great. 

alvaroafe...@gmail.com

unread,
Dec 13, 2018, 4:19:42 PM12/13/18
to HYCOM.org Forum
Alan,

What steps are needed to get either of the two DoD benchmarks? I'd like to download these before the weekend if possible.

alan.wa...@hycom.org

unread,
Dec 14, 2018, 9:09:20 AM12/14/18
to HYCOM.org Forum
For the 1/12 degree global case, download:


and


The 1st tar bundle is the source code and scripts and the 2nd is the data files (8 GB).

Alan.
Reply all
Reply to author
Forward
0 new messages