Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namd-2.9 > cat tmp/charmconfig.out
- Error checking is disabled
- Statistics collection is disabled
- Charm tracing is disabled
- Charm tracing communication thread is disabled
- CharmDebug is disabled
- Charm record/replay is disabled
- CCS is enabled
- Charm control point is disabled
- Setting load balancing timer type as 'double'
- ### whether C++ compiler works
- #include <stdio.h>
- void foo(void) {
- printf("Hello, world!\n");
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether linker works
- #include <stdio.h>
- int main() {
- printf("Hello, world!\n");
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -o testlink test.o
- ### whether compiler accept -fno-stack-protector
- #include <stdio.h>
- int main() {
- printf("Hello, world!\n");
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o -fno-stack-protector
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -o testlink test.o -fno-stack-protector
- Setting charm++ envelop refnum field to unsigned short
- ### whether compiler generates code for 64-bit
- #include <stdio.h>
- int foo()
- {
- int x[(int)(sizeof(void *) - 7)]={0};
- return x[0];
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether has strings.h
- #include <strings.h>
- int main() {
- char str[8];
- bzero(str, 8);
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether has values.h
- #include <values.h>
- int main() {
- double d = MAXDOUBLE;
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether has stdint.h
- #include <stdint.h>
- int main() {
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether has malloc.h
- #include <malloc.h>
- int main() {
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether has alloca.h
- #include <alloca.h>
- int main() {
- double *s=(double *)alloca(sizeof(double));
- *s=1.0;
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether has regex.h
- #include <regex.h>
- int main() {
- regex_t re;
- regcomp(&re, ".*MOD.*", REG_EXTENDED|REG_NOSUB);
- return 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether C++ bool works
- #include <stdlib.h>
- bool foo(void) { return true; }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether long long works
- #include <stdlib.h>
- long long foo(void) { return 17; }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether __int64 works
- #include <stdlib.h>
- __int64 foo(void) { return 17; }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- test.cpp:2: error: '__int64' does not name a type
- ### whether long double works
- #include <stdlib.h>
- long double foo(void) { return 17.0; }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether ucontext has FPU pointer
- #include <ucontext.h>
- struct _libc_fpstate fpstate;
- fpregset_t *fp;
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether ucontext uses uc_regs
- #include <ucontext.h>
- int main()
- {
- ucontext_t context;
- context.uc_mcontext.uc_regs = 0;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- test.cpp: In function 'int main()':
- test.cpp:6: error: 'struct mcontext_t' has no member named 'uc_regs'
- ### whether ucontext has pointer (v_regs) of vector type
- #include <ucontext.h>
- vrregset_t *v_regs;
- ucontext_t uc;
- void foo()
- {
- vrregset_t *ptr = uc.uc_mcontext.v_regs;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- test.cpp:2: error: expected constructor, destructor, or type conversion before '*' token
- test.cpp: In function 'void foo()':
- test.cpp:7: error: 'vrregset_t' was not declared in this scope
- test.cpp:7: error: 'ptr' was not declared in this scope
- test.cpp:7: error: 'struct mcontext_t' has no member named 'v_regs'
- ### whether inline works in C
- inline static int foo()
- {
- return 1;
- }
- mpicc -DCMK_GFORTRAN -I../include -I. -c test.c -o test.o
- ### whether C++ class explicit keyword works
- #include <stdlib.h>
- class er {
- protected:
- explicit er(unsigned int inType) {};
- };
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether C++ signed char and char differ
- #include <stdlib.h>
- class er {
- protected:
- void operator()(char &v,const char *desc=NULL) {};
- void operator()(signed char &v,const char *desc=NULL) {};
- };
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether C++ *_casts<> work
- int foo(float *t) {return *reinterpret_cast<int *>(t);}
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether C++ allows declaration of varsize array
- #include <stdio.h>
- void foo()
- {
- int size=10;
- char arrsize;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether namespaces work
- namespace foo {
- int x;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether typeinfo/typeid works
- #include <typeinfo>
- const char *foo(void) {
- int x;
- return typeid(x).name();
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether std::iterator_traits is defined
- #include <iterator>
- template <typename T> // T models Input Iterator
- typename std::iterator_traits<T>::value_type accumulate(T first, T last)
- {
- typename std::iterator_traits<T>::value_type result = 0;
- while(first != last)
- result += *first++;
- return result;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether std::distance is defined
- #include <vector>
- #include <iterator>
- int foo()
- {
- std::vector<int> tree;
- return std::distance(tree.begin(), tree.end());
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether std::inserter is defined
- #include <list>
- #include <iterator>
- void foo()
- {
- using namespace std;
- list<int> L;
- inserter ( L, L.end ( ) ) = 500;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether operator delete can be overloaded in same class
- class foo {
- public:
- void operator delete(void*p){};
- void operator delete(void*p,int*){};
- };
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether offsetof is defined
- #include <stddef.h>
- struct FooType {
- int f1;
- int f2;
- double f3;
- };
- void foo()
- {
- int off = offsetof(FooType, f2);
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether GCC x86 assembly works
- double foo(void)
- {
- unsigned long long int v;
- int *lo=0+(int *)&v;
- int *hi=1+(int *)&v;
- __asm__ __volatile__(
- "rdtsc; movl %%edx,%0; movl %%eax,%1"
- : /* output */ "=m" (*hi), "=m" (*lo)
- : /* input */
- : /* trashes */ "%edx", "%eax"
- );
- return v;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether GCC x86 assembly for atomic increment works
- int foo(void)
- {
- int x;
- asm("lock incl %0" :: "m" (x));
- asm("lock decl %0" :: "m" (x));
- return x;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether GCC IA64 assembly works
- double foo(void)
- {
- unsigned long long int x;
- __asm__ __volatile__("mov %0=ar.itc" : "=r"(x) :: "memory");
- return x;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- test.cpp: Assembler messages:
- test.cpp:4: Error: invalid character '=' in operand 1
- ### whether PPC assembly works
- double foo(void)
- {
- unsigned long long int x;
- asm volatile("eieio" ::: "memory");
- return x;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- test.cpp: Assembler messages:
- test.cpp:4: Error: no such instruction: `eieio'
- ### whether __thread (Thread Local Storage) is supported
- __thread unsigned long long int x;
- static __thread int y;
- void foo(void)
- {
- x = 1;
- y = 1;
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether switching TLS register (64-bit) is supported
- #include <elf.h>
- #include <stdlib.h>
- #include <malloc.h>
- void switchTLS() {
- Elf64_Addr m1, m2;
- asm volatile ("movq %%fs:0x0, %0\n\t"
- "movq %1, %%fs:0x0\n\t"
- : "=r"(m1)
- : "r"(m2));
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- ### whether build on MPI
- #include "mpi.h"
- int main(int argc, char **argv)
- {
- MPI_Init(&argc, &argv);
- }
- /opt/platform_mpi/bin/mpiCC -DCMK_GFORTRAN -I../include -I. -c test.cpp -o test.o
- In file included from /opt/platform_mpi/include/mpi.h:1633,
- from test.cpp:1:
- /opt/platform_mpi/include/mpiCC.h:32:2: warning: #warning The entire set of C++ language bindings have been deprecated in mpi 2.2 To disable this warning use -Wno-deprecated.
- namd-2.9 >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement