[Nek5000-users] Issue Compiling Prenek and Postnek

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Jul 21 01:12:28 CDT 2017


Hi Edmund,

try installing the following packages, and see if it works.

sudo apt-get install mesa-utils libx11-* libxt-dev xfonts-100dpi
xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded


On Fri, Jul 14, 2017 at 2:40 AM, <nek5000-users at lists.mcs.anl.gov> wrote:

> Hello,
>
> I'm a beginner in both linux and nek5000. Trying to set up Nek5000 I've
> learned so much about ubuntu but not enough... I've tried several times in
> two different computers (ubuntu 16.04) to compile postnek and prenek as the
> documentation recommends but the same error persists for both postnek and
> prenek.
>
> This is what the command window displays after ./maketools all
>
> ----------------------
> Make postnek...
> ----------------------
> make[1]: Entering directory '/home/edmund/Nek5000/tools/postnek'
> gfortran -c    postnek.f
> postnek.f:2052:28:
>
>                   call copyi(ig,buf(1 ),1)          !1-2
>                             1
> Warning: Rank mismatch in argument ‘a’ at (1) (rank-1 and scalar)
> postnek.f:2053:31:
>
>                   call copy8b(x,buf( 3),4,iel,nelm) !3-10
>                                1
> ...
>
> Warning: Deleted feature: Assigned GOTO statement at (1)
> ../../core/3rd_party/blas.f:17283:72: Warning: Deleted feature: ASSIGN
> statement at (1)
> ../../core/3rd_party/blas.f:17295:72: Warning: Deleted feature: ASSIGN
> statement at (1)
> ../../core/3rd_party/blas.f:17308:72: Warning: Deleted feature: ASSIGN
> statement at (1)
> ../../core/3rd_party/blas.f:17319:72: Warning: Deleted feature: ASSIGN
> statement at (1)
> gcc  -c -O2  -DUNDERSCORE  xdriver.c
> xdriver.c:6:22: fatal error: X11/Xlib.h: No such file or directory
> compilation terminated.
> makefile:84: recipe for target 'xdriver.o' failed
> make[1]: *** [xdriver.o] Error 1
> make[1]: Leaving directory '/home/edmund/Nek5000/tools/postnek'
> makefile:4: recipe for target 'all' failed
> make: *** [all] Error 1
> edmund at edmund-VirtualBox:~/Nek5000/tools$
>
> ------------------------------------------------------------
> ----------------------------------------------
>
> Could you help me please? What I am doing wrong?
>
> Thank you for your time and patience.
>
> Edmund
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170720/298f50a9/attachment.html>


More information about the Nek5000-users mailing list