Thanks for your message, I did "make install", and I did find the Make.common in the default installed place: /usr/local
However, I tried to use this make file, get many linkage errors such as: /usr/local/lib/libmesh_opt.a(libopt_la-ex_put_loadbal_param_cc.o): In function `ex_put_loadbal_param_cc': ex_put_loadbal_param_cc.c:(.text+0xf0): undefined reference to `nc_inq_format' My makefile is like: ///////////////////////////////////////////////////////// makefile ///////////////////////////////////// LIBMESH_DIR =/usr/local include $(LIBMESH_DIR)/Make.common ############################################################################### # source files srcfiles := $(wildcard *.C) # # object files objects := $(patsubst %.C, %.$(obj-suffix), $(srcfiles)) ############################################################################### target := ./test all:: $(target) # Production rules: how to make the target - depends on library configuration $(target): $(objects) @echo "Linking "$@"..." @$(libmesh_CXX) $(libmesh_CXXFLAGS) $(objects) -o $@ $(libmesh_LIBS) $(libmesh_LDFLAGS) /////////////////////////////////////////////////////////////////////////////// makefile /////////////////////////////// By the way, I could run examples. On Tue, May 27, 2014 at 10:33 AM, Kirk, Benjamin (JSC-EG311) < benjamin.k...@nasa.gov> wrote: > Did you do a 'make install'? > > Make.common should exist in the install directory. > > -Ben > > > On May 27, 2014, at 10:27 AM, walter kou <walter4c...@gmail.com> wrote: > > > Hi Roy, > > > > Thanks for your message, what do you mean by "Make.common still exists"? > I > > do see Make.common in several subfolders such as /examples, /contrib. > But > > I do not see Make.common in the parent folder that version 0.8.0 called. > > > > Walter > > > > > > On Mon, May 26, 2014 at 10:57 PM, Roy Stogner <royst...@ices.utexas.edu > >wrote: > > > >> > >> On Mon, 26 May 2014, walter kou wrote: > >> > >> Recently, I switched from libmesh-0.8.0 to libmesh 0.9.3, and found > >>> Make.common-based way in 0.8.0 did not work for 0.9.3. > >>> > >>> Is there example/instruction on writing a Makefile for libmesh 0.9.3, > if > >>> one wants to include new codes? > >>> > >> > >> Make.common still exists. For me the only change required to my app > >> makefiles > >> was that I now use libtool (for some reason which I don't remember a > year > >> later): > >> > >> - @$(libmesh_CXX) $(libmesh_CXXFLAGS) $(objects) -o $@ > >> $(libmesh_LIBS) $(libmesh_LDFLAGS) $(EXTERNAL_FLAGS) > >> + @$(libmesh_LIBTOOL) --tag=CXX $(LIBTOOLFLAGS) --mode=link > >> $(libmesh_CXX) $(libmesh_CXXFLAGS) $(objects) -o $@ $(libmesh_LIBS) > >> $(libmesh_LDFLAG > >> S) $(EXTERNAL_FLAGS) > >> > >> --- > >> Roy > >> > > > ------------------------------------------------------------------------------ > > The best possible search technologies are now affordable for all > companies. > > Download your FREE open source Enterprise Search Engine today! > > Our experts will assist you in its installation for $59/mo, no > commitment. > > Test it for FREE on our Cloud platform anytime! > > > http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk > > _______________________________________________ > > Libmesh-users mailing list > > Libmesh-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/libmesh-users > > ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users