Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

mdtest 1.9.3 installation problem on redhat/centos os #10

Open
aasraoui opened this issue Mar 3, 2017 · 4 comments
Open

mdtest 1.9.3 installation problem on redhat/centos os #10

aasraoui opened this issue Mar 3, 2017 · 4 comments

Comments

@aasraoui
Copy link

aasraoui commented Mar 3, 2017

mdtest installation fails under redhat 7.2
mdtest-1.9.3]# make
DLinux -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D__USE_LARGEFILE64=1 -D_HAS_S3 -I/usr/include/libxml2 -I/path/to/aws4c/include -L/path/to/aws4c/lib -laws4c_extra -laws4c -lcurl -lxml2 -g -o mdtest mdtest.c -lm
make: DLinux: Command not found
make: [mdtest] Error 127 (ignored)

@atorrez
Copy link
Contributor

atorrez commented Mar 7, 2017 via email

@atorrez
Copy link
Contributor

atorrez commented Mar 7, 2017 via email

@aasraoui
Copy link
Author

aasraoui commented Mar 8, 2017

checked and the - is included in the Makefile:

all: mdtest

mdtest: mdtest.c
$(CC) -D$(OS) $(LARGE_FILE) $(MDTEST_FLAGS) -g -o mdtest mdtest.c -lm

clean:
rm -f mdtest mdtest.o
I compiled it with this command line:
export MPI_CC=mpicc
$mpicc -DLinux -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D__USE_LARGEFILE64=1 -g -o mdtest mdtest.c -lm

thanks!

@awaiskhan2007
Copy link

I was also going through the same issue.
I resolved it using by installing mpi manaully. Then you can compile your mdtest.c manually and dont need to use Makefile.

Please make sure mpicc should be exported.
just run : mpicc mdtest.c -o mdtest.sh -lm

Thanks,
Khan Awais

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants