Zahra, Just do the following:
1) go to the Obj directory, remove everything, and issue ../Src/objsetup.sh 2) copy the arch.make you wish to the Obj directory 3) from this same directory (Obj!!!!!!), issue make 4) run siesta and be happy :) Marcos On Sun, Jul 25, 2010 at 11:19 AM, Hosein Cheraghchi <[email protected]>wrote: > Hello Mrs. Akbarinezhad, > It is interesting that I did the same process on centOS 5 with > gfortran.make and it worked. However, I have also installation problem with > ubuntu. I do not know what is the problem of ubuntu? Is the same processes > have different responses from different version of linux? > Best > hossein > > --- On *Sun, 7/25/10, zahra akbarinezhad <[email protected]>*wrote: > > > From: zahra akbarinezhad <[email protected]> > Subject: [SIESTA-L] compiling problem in siesta-3.0-rc1(siesta 3.0-beta-15) > To: [email protected] > Date: Sunday, July 25, 2010, 12:36 PM > > > hello > I trying to compiling siesta-3.0-rc1(siesta 3.0-beta-15) but i faced by > below error.my linux is ubuntu and my fortran is gfortran. > I did these stepes: > 1/ I coied gfortran.make into Src & Obj with arch.make name. > 2/ i run sh ../Src/obj_setup.sh > 3/then type make but i faced with this error > make: *** No targets. Stop. > > *anyone can help me?* > thanks > > > *********************************************************************************************************** > :~/siesta-3.0-rc1$ cd obj > :~/siesta-3.0-rc1/obj$ ls > arch.make fox makefile mpi Tests xmlparser > fdf libs Makefile readme wxml > :~/siesta-3.0-rc1/obj$ cd .. > :~/siesta-3.0-rc1$ ls > docs obj readme siesta_licence Tests util > examples pseudo readme_transiesta Src tutorials > version.info > :~/siesta-3.0-rc1$ cd Src/ > :~/siesta-3.0-rc1/Src$ ls > aclocal.m4 ibm.f ofc.f > alloc.f90 ibm_pessl.f old_atmfuncs.f > arch.make idiag.f onmod.f > arch.make.in include on_subs.f > arw.f initatom.f optical.f > atmfuncs.f initparallel.f ordern.f > atmparams.f inver.f outcell.f > atm_transfer.f iocg.f outcoor.f > atm_types.f iodm.f overfsm.f > atom.f iodmhs_netcdf.f90 overlap.f > atomlist.f iodm_netcdf.f90 parallel.f > atomlwf.f ioeig.f parallelsubs.f > atom_options.f90 io.f parsing.f > automatic_cell.f iofa.f paste.f > bands.f iogrid_netcdf.f90 pdos.f > basis_enthalpy.f90 iohs.f pdosg.f > basis_io.f iokp.f pdosk.f > basis_specs.f iolwf.f pdoskp.f > basis_types.f iomd.f periodic_table.f > bessph.f iopipes.f90 phirphi.f > bonds.f iowfs_netcdf.f90 phirphi_opt.f > born_charge.f ioxv.f phonon.f > broadcast_basis.f iozm.f pixmol.f > broyden_optim.f ipack.f plcharge.f > bsd.f kgrid.f poison.f > cart2frac.f kgridinit.f post_scf_work.f > cdiag.f kinefsm.f precision.f > cell_broyden_optim.f kpoint_grid.f90 projected_dos.f > cell_fire_optim.f kpoint_pdos.f90 propor.f > cellxc.f ksv.f proximity_check.f > cgvc.f ksvinit.f pseudopotential.f > cgvc_zmatrix.f libs pxf.f90 > cgwf.f linpack.f radfft.f > chemical.f listsc.f radial.f > chempot.f local_dos.f ran3.f > chkdim.f m4 rdiag.f > chkgmx.f madelung.f readsp.f > coceri.f Makefile recipes.f > compute_dm.f matel.f reclat.f > compute_norm.f m_broyddj.f90 redcel.f > config.guess m_broyddj_nocomm.f90 reinit.f > config.log m_broyden_mixing.f remove_intramol_pressure.f90 > config.status m_cell.f reoptical.f > config.sub m_check_supercell.f reord.f > configure m_convergence.f90 rhooda.f > configure.ac m_dipol.f90 rhoofd.f > confs md_out.f90 rhoofdsp.f > conjgr.f md_utils.f90 savepsi.f > conjgr_old.f m_efield.f scalapack_extra.f > constr.f memory.f scfconvergence_test.f > coor.f memoryinfo.f setatomnodes.f > coxmol.f m_energies.f90 setspatial.f > cpu_time.f90 m_eo.f90 setup_hamiltonian.f > cross.f meshmatrix.f setup_kscell.f > denmat.f meshsubs.f sgi.f > denmatlomem.f metaforce.f shaper.f > densematrix.f m_fdf_global.f90 show_distribution.f > detover.f m_filter.f90 siesta_analysis.f > dfscf.f m_fire.f90 siesta_cml.f90 > dhscf.f m_fire_mixing.f siesta_cmlsubs.f90 > diag2g.f m_fire_para.f90 siesta_end.f > diag2k.f m_forces.f90 siesta.F > diagg.f m_gamma.f90 siesta_forces.f > diagk.f m_getopts.f90 siesta_geom.f90 > diagk_file.f m_history.f90 siesta_init.f > diagkp.f m_hsx.f siesta_move.f > diagon.f minvec.f siesta_options.f90 > diagpol.f m_iodm.f sorting.f > diagsprl.f m_iorho.f sparse_matrices.f90 > digcel.f m_iostruct.f spatial.f > dipole.f mixer.f spher_harm.f > dismin.f m_kinetic.f90 state_analysis.f > dnaefs.f m_memory.f state_init.f > doping.f m_mpi_utils.f struct_init.f > dot.f mneighb.f sys > dsyevds.f m_ntm.f90 sys.f > dynamics.f molecularmechanics.f90 t3e.f > egandd.f m_options.f90 Tests > eggbox.f mpi timer.f > electrostatic.f m_pulay.f timestamp.f90 > ener3.f m_rmaxh.f90 transition_rate.f > ener3lomem.f m_sparse.f typecell.f > extrapolon.f m_spin.f90 uncell.f > f2kcli.f90 m_steps.f90 units.f90 > f2kcli_manual.txt m_stress.f90 version.f90 > fdf m_ts_aux_rout.f vmat.f > fermid.f m_ts_contour.f vmatsp.f > fft3d.f m_ts_electrode.f90 vmb.f > files.f m_ts_in_siesta.f volcel.f > find_kgrid.f m_ts_io.f90 write_md_record.f > fire_optim.f m_ts_kpoints.f90 write_raw_efs.f90 > fixed.f m_ts_options.f90 write_subs.f > flib_spline.f90 m_ts_scattering.f writewave.f > forhar.f mulliken.f wxml > fox m_wallclock.f90 xc.f > fsiesta.f90 m_walltime.f90 xcmod.f > general.f naefs.f xlf.f > get_target_stress.f nag.f xml.f > globalise.f new_dm.f xmlparser > gradient.f nlefsm.f zheevds.f90 > gradientlomem.f normalize_dm.f zmatrix.f > grdsam.f obc.f zm_broyden_optim.f > hsparse.f obj_setup.sh zm_fire_optim.f > d...@physics:~/siesta-3.0-rc1/Src$ sh ../Src/obj_setup.sh > cp: `./Tests/si111-spinpol/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si111-spinpol/makefile' are the same > file > cp: `./Tests/sinw_2/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/sinw_2/makefile' are the same file > cp: `./Tests/zmatrix/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/zmatrix/makefile' are the same file > cp: `./Tests/born_spin/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/born_spin/makefile' are the same file > cp: `./Tests/h2o_basis/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_basis/makefile' are the same file > cp: `./Tests/ch4/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/ch4/makefile' are the same file > cp: `./Tests/force_2/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/force_2/makefile' are the same file > cp: `./Tests/var_cell/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/var_cell/makefile' are the same file > cp: `./Tests/h2o_radialgrid/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_radialgrid/makefile' are the same > file > cp: `./Tests/si_coop/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si_coop/makefile' are the same file > cp: `./Tests/fire_benzene/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fire_benzene/makefile' are the same > file > cp: `./Tests/h2o_coop/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_coop/makefile' are the same file > cp: `./Tests/mgco3/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/mgco3/makefile' are the same file > cp: `./Tests/nanotube-c-5-0/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/nanotube-c-5-0/makefile' are the same > file > cp: `./Tests/md_anneal/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/md_anneal/makefile' are the same file > cp: `./Tests/fe_cohp/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fe_cohp/makefile' are the same file > cp: `./Tests/h2o_findp_bug/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_findp_bug/makefile' are the same > file > cp: `./Tests/ptcda/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/ptcda/makefile' are the same file > cp: `./Tests/sih/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/sih/makefile' are the same file > cp: `./Tests/floating/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/floating/makefile' are the same file > cp: `./Tests/sic-slab/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/sic-slab/makefile' are the same file > cp: `./Tests/ptcda-au/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/ptcda-au/makefile' are the same file > cp: `./Tests/benzene/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/benzene/makefile' are the same file > cp: `./Tests/constant_volume/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/constant_volume/makefile' are the > same file > cp: `./Tests/si001/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si001/makefile' are the same file > cp: `./Tests/batio3/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/batio3/makefile' are the same file > cp: `./Tests/h_chain/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h_chain/makefile' are the same file > cp: `./Tests/32_h2o/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/32_h2o/makefile' are the same file > cp: `./Tests/fe_broyden/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fe_broyden/makefile' are the same > file > cp: `./Tests/h2o_ordern/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_ordern/makefile' are the same > file > cp: `./Tests/fe_noncol_kp/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fe_noncol_kp/makefile' are the same > file > cp: `./Tests/oxyn/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/oxyn/makefile' are the same file > cp: `./Tests/h3po4_1/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h3po4_1/makefile' are the same file > cp: `./Tests/md_npr/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/md_npr/makefile' are the same file > cp: `./Tests/fen/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fen/makefile' are the same file > cp: `./Tests/graphite_c6/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/graphite_c6/makefile' are the same > file > cp: `./Tests/pb_filter_cutoff/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/pb_filter_cutoff/makefile' are the > same file > cp: `./Tests/h2o_op_broyden/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_op_broyden/makefile' are the same > file > cp: `./Tests/si64_coop/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si64_coop/makefile' are the same file > cp: `./Tests/sinw/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/sinw/makefile' are the same file > cp: `./Tests/si2x1h/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si2x1h/makefile' are the same file > cp: `./Tests/h3po4_3/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h3po4_3/makefile' are the same file > cp: `./Tests/carbon_nanoscroll/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/carbon_nanoscroll/makefile' are the > same file > cp: `./Tests/graphite_c6_full/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/graphite_c6_full/makefile' are the > same file > cp: `./Tests/h2oz/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2oz/makefile' are the same file > cp: `./Tests/pd_ice/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/pd_ice/makefile' are the same file > cp: `./Tests/si_bandpoints/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si_bandpoints/makefile' are the same > file > cp: `./Tests/partial/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/partial/makefile' are the same file > cp: `./Tests/pb_bulk/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/pb_bulk/makefile' are the same file > cp: `./Tests/h2o_2/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_2/makefile' are the same file > cp: `./Tests/pb_bulk_1000/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/pb_bulk_1000/makefile' are the same > file > cp: `./Tests/si64/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si64/makefile' are the same file > cp: `./Tests/fe/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fe/makefile' are the same file > cp: `./Tests/h2o_dos/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_dos/makefile' are the same file > cp: `./Tests/si2x1h-dipole/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si2x1h-dipole/makefile' are the same > file > cp: `./Tests/md_nose/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/md_nose/makefile' are the same file > cp: `./Tests/h2o_netcdf/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_netcdf/makefile' are the same > file > cp: `./Tests/md_pr/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/md_pr/makefile' are the same file > cp: `./Tests/force_constants/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/force_constants/makefile' are the > same file > cp: `./Tests/h2o_4/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_4/makefile' are the same file > cp: `./Tests/ag/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/ag/makefile' are the same file > cp: `./Tests/h2o_reparam/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o_reparam/makefile' are the same > file > cp: `./Tests/fe_clust_noncollinear/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/fe_clust_noncollinear/makefile' are > the same file > cp: `./Tests/bessel/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/bessel/makefile' are the same file > cp: `./Tests/sih_fire/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/sih_fire/makefile' are the same file > cp: `./Tests/ge111/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/ge111/makefile' are the same file > cp: `./Tests/sih_op_broyden/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/sih_op_broyden/makefile' are the same > file > cp: `./Tests/md_verlet/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/md_verlet/makefile' are the same file > cp: `./Tests/born/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/born/makefile' are the same file > cp: `./Tests/n_chain/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/n_chain/makefile' are the same file > cp: `./Tests/makefile' and `/home/dubs/siesta-3.0-rc1/Src/./Tests/makefile' > are the same file > cp: `./Tests/h_chain2/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h_chain2/makefile' are the same file > cp: `./Tests/h3po4_2/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h3po4_2/makefile' are the same file > cp: `./Tests/h2o/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/h2o/makefile' are the same file > cp: `./Tests/pb_filter_tol/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/pb_filter_tol/makefile' are the same > file > cp: `./Tests/si_pdos_kgrid/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./Tests/si_pdos_kgrid/makefile' are the same > file > cp: `./fox/fsys/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./fox/fsys/makefile' are the same file > cp: `./fox/wcml/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./fox/wcml/makefile' are the same file > cp: `./fox/common/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./fox/common/makefile' are the same file > cp: `./fox/wxml/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./fox/wxml/makefile' are the same file > cp: `./fox/utils/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./fox/utils/makefile' are the same file > cp: `./fox/makefile' and `/home/dubs/siesta-3.0-rc1/Src/./fox/makefile' are > the same file > cp: `./xmlparser/makefile' and > `/home/dubs/siesta-3.0-rc1/Src/./xmlparser/makefile' are the same file > cp: `./libs/makefile' and `/home/dubs/siesta-3.0-rc1/Src/./libs/makefile' > are the same file > cp: `./fdf/makefile' and `/home/dubs/siesta-3.0-rc1/Src/./fdf/makefile' are > the same file > cp: `./wxml/makefile' and `/home/dubs/siesta-3.0-rc1/Src/./wxml/makefile' > are the same file > cp: `./mpi/makefile' and `/home/dubs/siesta-3.0-rc1/Src/./mpi/makefile' are > the same file > cp: `./fdf/fdf.h' and `/home/dubs/siesta-3.0-rc1/Src/./fdf/fdf.h' are the > same file > cp: `./fdf/fdfdefs.h' and `/home/dubs/siesta-3.0-rc1/Src/./fdf/fdfdefs.h' > are the same file > cp: `./fdf/fdf.h' and `/home/dubs/siesta-3.0-rc1/Src/./fdf/fdf.h' are the > same file > cp: `./fdf/fdfdefs.h' and `/home/dubs/siesta-3.0-rc1/Src/./fdf/fdfdefs.h' > are the same file > *** Compilation setup done. > *** Remember to copy an arch.make file or run configure as: > ../Src/configure [configure_options] > d...@physics:~/siesta-3.0-rc1/Src$ make > make: *** No targets. Stop. > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > d...@physics:~/siesta-3.0-rc1/Src$ ./configure > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for xlf95... no > checking for lf95... no > checking for f95... f95 > checking for Fortran compiler default output file name... a.out > checking whether the Fortran compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU Fortran compiler... yes > checking whether f95 accepts -g... yes > checking for Fortran flag needed to allow fixed-form source for .f > suffix... none > checking for Fortran flag needed to allow free-form source for .f90 > suffix... none > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for fixed form Fortran preprocessor features... done. > checking whether f95 compiles programs with cpp directives... yes > checking whether f95 accepts -D... yes > checking whether f95 accepts -I... yes > checking whether f95 fulfils requested features... yes > checking preprocessing mode we may therefore use... direct > checking for Fortran flag needed to allow preprocessed fixed-form source > for .F suffix... (cached) none > checking for Fortran flag needed to allow free-form source for .F90 > suffix... none > checking for ranlib... ranlib > configure: Could not determine type of compiler > checking for kind number produced by kind(1.0)... checking for kind number > produced by kind(1.0)... 4 > checking for kind number produced by kind(1.0d0)... checking for kind > number produced by kind(1.0d0)... 8 > checking for kind number produced by selected_real_kind(6,34)... checking > for kind number produced by selected_real_kind(6,34)... 4 > checking for kind number produced by selected_real_kind(15,300)... checking > for kind number produced by selected_real_kind(15,300)... 8 > checking how to compile a call to FLUSH... default > checking how to compile a call to ABORT... default > checking how to compile DIMAG... default > checking for netcdf... no > checking is BLAS linked by default... no > checking for BLAS in -lblasmt... no > checking for BLAS in ATLAS... no > checking for sgemm in -lblas... no > checking for sgemm in -lcxml... no > checking for sgemm in -ldxml... no > checking for sgemm in -lscs... no > checking for sgemm in -lcomplib.sgimath... no > checking for sgemm in -lblas... (cached) no > checking for sgemm in -lblas... (cached) no > configure: Using BLAS packaged with SIESTA > checking LAPACK already linked... no > checking for LAPACK in -llapackmt... no > checking for LAPACK in -llapack... no > checking for LAPACK in -llapack_rs6k... no > configure: Using LAPACK packaged with SIESTA > configure: creating ./config.status > config.status: creating arch.make > d...@physics:~/siesta-3.0-rc1/Src$ > d...@physics:~/siesta-3.0-rc1/Src$ make > make: *** No targets. Stop. > > > >
