Need Help in installation

Julien Bodart julien.bodart at gmail.com
Mon Oct 3 09:52:33 CDT 2011


Hi,

You are probably missing flex
sudo apt-get install flex

Julien

On Sat, Oct 1, 2011 at 11:24 PM, abhisek chakraborty
<abhisek.hit at gmail.com> wrote:
> Dear Sir/Madam,
>
> I am trying to install parallel Netcdf -1.2.0 in Ubuntu Linux system. I
> already have install Mpich2-1.4.1p1 successfully.
>
> My fortran complier is GFORTRAN and C complier is GCC along with G++ for
> compiling C++. When I configure my system for parallel netcdf, it is done
> successfully. After that when  I invoke 'make' command, I am getting an
> error message as shown below:
>
> " make[3]: Leaving directory
> `/home/abhisek/LIB/parallel-netcdf-1.2.0/src/libf'
> cd utils && make
> make[3]: Entering directory
> `/home/abhisek/LIB/parallel-netcdf-1.2.0/src/utils'
> cd ncgen && make
> make[4]: Entering directory
> `/home/abhisek/LIB/parallel-netcdf-1.2.0/src/utils/ncgen'
> /home/abhisek/LIB/mpich2-install/bin/mpicc -c -g -O2 -I./../../../src/lib
> -I. -I. -I../../lib   main.c
> /home/abhisek/LIB/mpich2-install/bin/mpicc -c -g -O2 -I./../../../src/lib
> -I. -I. -I../../lib   load.c
> : -Pncmpi ./ncgen.l; \
>     mv lex.ncmpi.c ncgenyy.c
> mv: cannot stat `lex.ncmpi.c': No such file or directory
> make[4]: *** [ncgenyy.c] Error 1
> make[4]: Leaving directory
> `/home/abhisek/LIB/parallel-netcdf-1.2.0/src/utils/ncgen'
> make[3]: *** [ncmpigen] Error 2
> make[3]: Leaving directory
> `/home/abhisek/LIB/parallel-netcdf-1.2.0/src/utils'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/abhisek/LIB/parallel-netcdf-1.2.0/src'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/home/abhisek/LIB/parallel-netcdf-1.2.0'
> make: *** [src/lib/all] Error 2 "
>
>
> Can you please help me to get out of this and install parallel-netcdf?
>
> Thanking in advance,
>
> Abhisek
>
>
>


More information about the parallel-netcdf mailing list